• Course: YSC4103 MCS Capstone
  • Date created: 2019/02/25
  • Name: Linfan XIAO
  • Description: Implement the Fokas method as described in "Evolution PDEs and augmented eigenfunctions. Finite interval."

Let $C=C^{\infty}[0,1]$ be the set of functions with derivatives of all orders on $[0,1]$.

Define $n$ linearly independent boundary forms $\{B_j: C\to\mathbb{C}\mid j\in\{1,2,\ldots,n\}\}$ as follows: \begin{align*} B_j\phi &= \sum_{k=0}^{n-1} \left(b_{jk}\phi^{(k)}(0) + \beta_{jk}\phi^{(k)}(1)\right),\quad j\in \{1,2,\ldots, n\}, \end{align*} where $b_{jk}, \beta_{jk}\in\mathbb{R}$ are boundary coefficients. Define \begin{align*} \Phi &= \{\phi\in C: B_j\phi = 0\,\forall j \in \{1,2,\ldots, n\}\} \end{align*} to be the set of $n$ homogeneous boundary conditions \begin{align*} \left(b_{11}\phi^{(0)}(0) + \beta_{11}\phi^{(0)}(1)\right) + \cdots +\left(b_{1n}\phi^{(n-1)}(0) + \beta_{1n}\phi^{(n-1)}(1)\right) &= 0\\ &\vdots\\ \left(b_{n1}\phi^{(0)}(0) + \beta_{n1}\phi^{(0)}(1)\right) + \cdots +\left(b_{nn}\phi^{(n-1)}(0) + \beta_{nn}\phi^{(n-1)}(1)\right) &= 0. \end{align*} Let $S:\Phi\to C$ be the linear differential operator $$S\phi(x) = (-i)^n \phi^{(n)}(x).$$

Let $a\in\mathbb{C}$ be a constant. Consider the homogeneous initial-boundary value problem (IBVP): \begin{alignat*}{2} (\partial_t + aS)q(x,t) &= 0,\quad&(x,t)\in (0,1)\times (0,T)\\ q(x,0)&\in\Phi,\quad &x\in [0,1]\\ q(\cdot, t) &\in\Phi,\quad &t\in [0,T] \end{alignat*} Let $f(x):=q(x,0)$. We reqire that if $n$ is odd then $a=\pm i$ and if $n$ is even then $\Re(a)\geq 0$. We solve the IBVP for $q(x,t)$.

Importing packages

In [1]:
using SymPy
using PyCall
sympy = pyimport("sympy")
# using Roots
using Distributions
# using IntervalArithmetic
# using IntervalRootFinding
using ApproxFun

using Plots

using NBInclude
using QuadGK
import QuadGK.quadgk
# using HCubature
using ApproxFun
using Roots
using Gadfly
using PyPlot
# pygui(true)

using StringLiterals

Global variables

TOL

Error tolerance level.

In [2]:
TOL = 1e-05
Out[2]:
1.0e-5

DIGITS

The number of digits to display in symbolic expressions.

In [3]:
DIGITS = 3
Out[3]:
3

INFTY

A number representing infinity in numerical approximations.

In [4]:
INFTY = 10
Out[4]:
10

t

Free symbol in the unknown function $x(t)$ in the differential equation $Lx=0$.

In [5]:
# t = symbols("t")

sympy_Exprs

Sample expressions of type addition, multiplication, power, and exponential in SymPy.

In [6]:
x = symbols("x")
sympyAddExpr = 1 + x
Out[6]:
$$x + 1$$
In [7]:
sympyMultExpr = 2*x
Out[7]:
$$2 x$$
In [8]:
sympyPowerExpr = x^2
Out[8]:
$$x^{2}$$
In [9]:
sympyExpExpr = e^x
Out[9]:
$$e^{x}$$

Helper functions

check_all(array, condition)

Checks whether all elements in an array satisfy a given condition.

In [10]:
function check_all(array, condition)
    for x in array
        if !condition(x)
            return false
        end
    end
    return true
end
Out[10]:
check_all (generic function with 1 method)

Parameters

  • array: Array
    • Input array to be checked. Generic, not necessarily homogeneous.
  • condition: Function: Bool
    • Boolean function to be applied to each element in the array.

Returns

  • check_all: Bool
    • Returns true if all elements in array satisfy condition and false if any element does not satisfy the condition.

Example

In [11]:
array = [0,1,2,3]
condition = x -> x>2
check_all(array, condition)
Out[11]:
false

check_any(array, condition)

Checks whether any element in an array satisfy a given condition.

In [12]:
function check_any(array, condition)
    for x in array
        if condition(x)
            return true
        end
    end
    return false
end
Out[12]:
check_any (generic function with 1 method)

Parameters

  • array: Array
    • Input array to be checked. Generic, not necessarily homogeneous.
  • condition: Function: Bool
    • Boolean function to be applied to each element in the array.

Returns

  • check_all: Bool
    • Returns true if there exists an element in the array that satisfies a given condition and false if no element satisfies the condition.

Example

In [13]:
array = [0,1,2,3]
condition = x -> x>2
check_any(array, condition)
Out[13]:
true

set_tol(x, y)

Sets an appropriate tolerance for checking whether two numbers or two arrays of numbers are approximately equal.

In [14]:
function set_tol(x::Union{Number, Array}, y::Union{Number, Array}; atol = TOL)
    if isa(x, Number) && isa(y, Number)
       return atol * mean([x y])
    elseif isa(x, Array) && isa(y, Array)
        if size(x) != size(y)
            throw(error("Array dimensions do not match"))
        end
        # Avoid InexactError() when taking norm()
        x = convert(Array{Complex}, x)
        y = convert(Array{Complex}, y)
        return atol * (norm(x,2) + norm(y,2))
    else
        throw(error("Invalid input"))
    end
end
Out[14]:
set_tol (generic function with 1 method)

Parameters

  • x, y: Number or Array of Number
    • Objects to compare.

Returns

  • set_tol: Number
    • Returns a tolerance within which x and y are considered approximately equal (entry-wise if x, y are arrays).

Example

In [15]:
x = 14
y = 21
println("set_tol($x, $y) = $(set_tol(x,y))")

A = [4 0.6; 3 2]
B = [5 1; 10 3]
set_tol(A, B)
println("set_tol($A, $B) = $(set_tol(A,B))")
set_tol(14, 21) = 0.00017500000000000003
set_tol([4.0 0.6; 3.0 2.0], [5 1; 10 3]) = 0.00016901192145623727

evaluate(func, a)

Evaluate a univariate function or an array of them at a given value.

In [16]:
function evaluate(func::Union{Function, SymPy.Sym, Number}, a::Number)
    if isa(func, Function)
        funcA = func(a)
    elseif isa(func, SymPy.Sym) # SymPy.Sym must come before Number because SymPy.Sym will be recognized as Number
        freeSymbols = free_symbols(func)
        if length(freeSymbols) > 1
            throw(error("func should be univariate"))
        elseif length(freeSymbols) == 1
            t = free_symbols(func)[1,1]
            if isa(a, SymPy.Sym) # if x is SymPy.Sym, do not convert result to Number to preserve pretty printing
                funcA = subs(func, t, a)
            else
                funcA = SymPy.N(subs(func, t, a))
            end
        else
            funcA = func
        end
    else # func is Number
        funcA = func
    end
    return funcA
end
Out[16]:
evaluate (generic function with 1 method)

Parameters

  • func: Function, SymPy.Sym, Number, or Array
    • Object to be evaluated. Note that SymPy.Sym is absorbed into Number.
  • x: Number
    • Value on which func is to be evaluated at.
  • t: SymPy.Sym
    • Free symbol in func if func is a SymPy.Sym object or an array of them.

Returns

  • evaluate: Number
    • Returns the value of func at x.

Example

In [17]:
func = x -> x+1
xVal = 2
println("func($xVal) = $(evaluate(func, xVal))")

x = symbols("x")
func = x+1
println("func($xVal) = $(evaluate(func, xVal))")

a = symbols("a")
println("func($a) = $(evaluate(func, a))")

x = symbols("x")
array = [2x 1; x^3 x]
a = symbols("a")
evaluate.(array, a)
func(2) = 3
func(2) = 3
func(a) = a + 1
Out[17]:
\begin{bmatrix}2 a&1\\a^{3}&a\end{bmatrix}

partition(n)

Generate ordered two-integer partitions ($0$ included) of a given non-negative integer.

In [18]:
function partition(n::Int)
    if n < 0
        throw(error("Non-negative n required"))
    end
    output = []
    for i = 0:n
        j = n - i
        push!(output, (i,j))
    end
    return output
end
Out[18]:
partition (generic function with 1 method)

Parameters

  • n: Int
    • Non-negative integer to be partitioned.

Returns

  • partition: Array of Tuple{Int, Int}
    • Returns an array of tuples, where each tuple corresponds to a two-integer parition of n. Note that a tuple is ordered, and (i, j) and (j, i) are considered distinct partitions.

Example

In [19]:
n = 5
partition(5)
Out[19]:
6-element Array{Any,1}:
 (0, 5)
 (1, 4)
 (2, 3)
 (3, 2)
 (4, 1)
 (5, 0)

get_deriv(u, k)

Constructs the symbolic expression for the $k$th derivative of a univariate function u.

In [20]:
function get_deriv(u::Union{SymPy.Sym, Number}, k::Int)
    if k < 0
        throw(error("Non-negative k required"))
    end
    if isa(u, SymPy.Sym)
        freeSymbols = free_symbols(u)
        if length(freeSymbols) > 1
            throw(error("u should be univariate"))
        elseif length(freeSymbols) == 1
            t = freeSymbols[1]
            y = u
            for i = 1:k
                newY = diff(y, t)
                y = newY
            end
            return y
        else
            if k > 0
                return 0
            else
                return u
            end
        end
    else
        if k > 0
            return 0
        else
            return u
        end
    end
end
Out[20]:
get_deriv (generic function with 1 method)

Parameters

  • u: SymPy.Sym or Number
    • Function to be differentiated.
  • k: Int
    • Degree of the desired derivative.

Returns

  • get_deriv: SymPy.Sym
    • Returns the $k$th derivative of u.

Example

In [21]:
u = 3
k = 1
println("get_deriv($u, $k) = $(get_deriv(u, k))")

t = symbols("t")
u = t^2+2t+3
get_deriv(u, k)
get_deriv(3, 1) = 0
Out[21]:
$$2 t + 2$$

add_func(f, g)

Computes the sum of two functions using the function addition given by $(f + g)(x) := f(x) + g(x)$.

In [22]:
function add_func(f::Union{Number, Function}, g::Union{Number, Function})
    function h(x)
        if isa(f, Number)
            if isa(g, Number)
                return f + g
            else
                return f + g(x)
            end
        elseif isa(f, Function)
            if isa(g, Number)
                return f(x) + g
            else
                return f(x) + g(x)
            end
        end
    end
    return h
end
Out[22]:
add_func (generic function with 1 method)

Parameters

  • f, g: Function or Number
    • Functions to be added.

Returns

  • add_func: Function or Number
    • Returns the sum of f and g.

Example

In [23]:
f(x) = x^3+1
g(x) = 4x
x = 2
add_func(f, g)(x) == f(x) + g(x)
Out[23]:
true

mult_func(f, g)

Computes the product of two functions using the function multiplication given by $(f \cdot g)(x) := f(x) \cdot g(x)$.

In [24]:
function mult_func(f::Union{Number, Function}, g::Union{Number, Function})
    function h(x)
        if isa(f, Number)
            if isa(g, Number)
                return f * g
            else
                return f * g(x)
            end
        elseif isa(f, Function)
            if isa(g, Number)
                return f(x) * g
            else
                return f(x) * g(x)
            end
        end
    end
    return h
end
Out[24]:
mult_func (generic function with 1 method)

Parameters

  • f, g: Function or Number
    • Functions to be multiplied.

Returns

  • add_func: Function or Number
    • Returns the product of f and g.

Example

In [25]:
f(x) = x^3+1
g(x) = 4x
x = 2
mult_func(f, g)(x) == f(x) * g(x)
Out[25]:
true

sym_to_func(sym)

Converts a univariate symbolic expression to a function.

In [26]:
function sym_to_func(sym::Union{SymPy.Sym, Number})
    try
        freeSymbols = free_symbols(sym)
        if length(freeSymbols) > 1
            throw(error("sym should be univariate"))
        else
            function func(x)
                if length(freeSymbols) == 0
                    result = SymPy.N(sym)
                else
                    result = SymPy.N(subs(sym, freeSymbols[1], x))
                end
                return result
            end
            return func
        end
    catch
        function func(x)
            return sym
        end
        return func
    end
end
Out[26]:
sym_to_func (generic function with 1 method)

Parameters

  • sym: SymPy.Sym or Number
    • Symbolic expression to be converted.

Returns

  • sym_to_func: Function
    • Function converted from sym.

Example

In [27]:
t = symbols("t")
sym = t^2+t
tVal = 2
println("sym_to_func($sym)($tVal) = $(sym_to_func(sym)(tVal))")

sym = [1 t; t^2 t^3]
sym_to_func.(sym)[2,1](2)
println("sym_to_func($sym[2,1])($tVal) = $(sym_to_func.(sym[2,1])(tVal))")

sym = 2
println("sym_to_func($sym)($tVal) = $(sym_to_func(sym)(tVal))")
sym_to_func(t^2 + t)(2) = 6
sym_to_func(SymPy.Sym[1 t; t^2 t^3][2,1])(2) = 4
sym_to_func(2)(2) = 2

prettyRound(x, digits)

Round a number at a given number of digits.

In [28]:
function prettyRound(x::Number; digits::Int = DIGITS)
    if isa(x, Int)
        return x
    elseif isa(x, Real)
        if isa(x, Rational) || isa(x, Irrational) # If x is rational or irrational numbers like e, pi
            return x
        elseif round(abs(x), digits) == floor(abs(x))
            return Int(round(x))
        else
            return round(x, digits)
            # return rationalize(x)
        end
    elseif isa(x, Complex)
        roundedReal = prettyRound(real(x), digits = digits)
        roundedComplex = prettyRound(imag(x), digits = digits)
        return roundedReal + im*roundedComplex
    else
        return round(x, digits)
    end
end
Out[28]:
prettyRound (generic function with 1 method)

Parameters

  • x: Number
    • Number to be rounded.
  • digits*: Int
    • Number of decimal places to keep. Default to the global variable DIGITS.

Returns

  • prettyRound: Number
    • Returns x rounded to the digits decimal places.

Example

In [29]:
# x = 0.0000001*im
x = 4.854572304702339 - 49.023298458074294im
prettyRound(x)
println("prettyRound($x) = $(prettyRound(x))")

x = [1/3 1/4 0]
println("prettyRound($x) = $(prettyRound.(x))")

x = [1//3 1//4 0//1]
println("prettyRound($x) = $(prettyRound.(x))")
prettyRound(4.854572304702339 - 49.023298458074294im) = 4.855 - 49.023im
prettyRound([0.333333 0.25 0.0]) = Real[0.333 0.25 0]
prettyRound(Rational{Int64}[1//3 1//4 0//1]) = Rational{Int64}[1//3 1//4 0//1]

prettyPrint(x)

Prints a symbolic scalar pretty-rounded floating numbers.

In [30]:
function prettyPrint(x::Union{Number, SymPy.Sym})
    expr = x
    if isa(expr, SymPy.Sym)
        prettyExpr = expr
        for a in sympy[:preorder_traversal](expr)
            if length(free_symbols(a)) == 0 && length(args(a)) == 0
                if !(a in [e, PI]) && length(intersect(args(a), [e, PI])) == 0 # keep the transcendental numbers as symbols
                    prettyA = prettyRound.(SymPy.N(a))
                    prettyExpr = subs(prettyExpr, (a, prettyA))
                end
            end
        end
    else
        prettyExpr = prettyRound.(expr)
        prettyExpr = convert(SymPy.Sym, prettyExpr)
    end
    return prettyExpr
end
Out[30]:
prettyPrint (generic function with 1 method)

Parameters

  • x: Number or SymPy.Sym
    • Object to be printed.

Returns

  • prettyPrint: SymPy.Sym
    • Returns symbolic expression of x with pretty-rounded floating numbers.

Example

In [31]:
t = symbols("t")
x = 1//3*t + e^(2t) + PI/2 + 1.00001*im + sympy[:sqrt](2) + 1//6
prettyPrint(x)
Out[31]:
$$\frac{t}{3} + e^{2 t} + \frac{1}{6} + \sqrt{2} + \frac{\pi}{2} + i$$
In [32]:
t = symbols("t")
x = [1//3*t PI; 1//6*t^2+t 1]
prettyPrint.(x)
Out[32]:
\begin{bmatrix}\frac{t}{3}&\pi\\\frac{t^{2}}{6} + t&1\end{bmatrix}
In [33]:
x = [0.0+1.0*im 1.0+0.0*im -1.0+0.0*im 0.0-1.0*im]
prettyPrint.(x)
Out[33]:
\begin{bmatrix}i&1&-1&- i\end{bmatrix}

is_approxLess(x, y; atol)

Checks whether $x$ is approximately less than $y$ within a tolerance. That is, whether $x\not\approx y$ and $x<y$.

In [34]:
function is_approxLess(x::Number, y::Number; atol = TOL)
    return !isapprox(x,y; atol = atol) && x < y
end
Out[34]:
is_approxLess (generic function with 1 method)

Parameters

  • x, y: Number
    • Numbers to compare.
  • atol*: Number
    • Tolerance within which $x$ would be considered approximately equal to $y$. Default to the global variable TOL.

Returns

  • is_approxLess: Bool
    • Returns true if $x\not\approx y$ within atol and $x<y$, and false otherwise.

Example

In [35]:
x = 1
y = x + TOL/2
println("is_approxLess($x,$y) = $(is_approxLess(x,y))")

y = x + TOL*2
println("is_approxLess($x,$y) = $(is_approxLess(x,y))")
is_approxLess(1,1.000005) = false
is_approxLess(1,1.00002) = true

is_approx(x, y; atol)

Checks whether $x$ is approximately equal to $y$ within a tolerance.

In [36]:
function is_approx(x::Number, y::Number; atol = TOL)
    return isapprox(x, y; atol = atol)
end
Out[36]:
is_approx (generic function with 1 method)

Parameters

  • x, y: Number
    • Numbers to compare.
  • atol*: Number
    • Tolerance within which $x$ would be considered approximately equal to $y$. Default to the global variable TOL.

Returns

  • is_approx: Bool
    • Returns true if $x\approx y$ within atol and false otherwise.

Example

In [37]:
x = 1
y = x + TOL/2
println("is_approx($x,$y) = $(is_approx(x,y))")

y = x + TOL*2
println("is_approx($x,$y) = $(is_approx(x,y))")
is_approx(1,1.000005) = true
is_approx(1,1.00002) = false

argument(z)

Finds the argument of a complex number in $[0,2\pi)$.

In [38]:
function argument(z::Number)
    if angle(z) >= 0 # in [0,pi]
        return angle(z)
    else 
        # angle(z) is in (-pi, 0]
        # Shift it up to (pi,2pi]
        argument = 2pi + angle(z) # This is in (pi,2pi]
        if is_approx(argument, 2pi) # Map 2pi to 0
            return 0
        else
            return argument # This is now in [0,2pi)
        end
    end
end
Out[38]:
argument (generic function with 1 method)

Parameters

  • z: Number
    • Complex number whose argument is to be found.

Returns

  • argument: Number
    • Returns $\arg(z)$ in $[0,2\pi)$.

Example

In [39]:
z = 1
println("argument($z) = $(argument(z))")

z = -1-im
println("argument($z) = $(argument(z))")
argument(1) = 0.0
argument(-1 - 1im) = 3.9269908169872414

trace_contour(a, n, infty, sampleSize)

Plots the contour sectors encircled by $\Gamma_a^+$, $\Gamma_a^-$, $\Gamma_0^+$, and $\Gamma_0^-$ defined as \begin{align*} \Gamma_a^{\pm} &:= \partial(\{\lambda\in\mathbb{C}^{\pm}:\, \Re(a\lambda^n)>0\}\setminus \bigcup_{\substack{\sigma\in\mathbb{C};\\\Delta(\sigma)=0}} D(\sigma, 2\epsilon))\quad\mbox{($D$ for disk)},\\ \Gamma_0^+ &:= \bigcup_{\substack{\sigma\in\overline{\mathbb{C}^+};\\ \Delta(\sigma)=0}} C(\sigma, \epsilon)\quad\mbox{($C$ for circle)},\\ \Gamma_0^- &:= \bigcup_{\substack{\sigma\in\mathbb{C}^-;\\ \Delta(\sigma)=0}} C(\sigma, \epsilon) \end{align*} by sampling points.

In [40]:
function trace_contour(a::Number, n::Int, sampleSize::Int; infty = INFTY)
    lambdaVec = []
    for counter = 1:sampleSize
        x = rand(Uniform(-infty,infty), 1, 1)[1]
        y = rand(Uniform(-infty,infty), 1, 1)[1]
        lambda = x + y*im
        if real(a*lambda^n)>0
            append!(lambdaVec, lambda)
        end
    end
    Gadfly.plot(x=real(lambdaVec), y=imag(lambdaVec), Guide.xlabel("Re"), Guide.ylabel("Im"), Coord.Cartesian(ymin=-infty,ymax=infty, xmin=-infty, xmax=infty, fixed = true))
end
Out[40]:
trace_contour (generic function with 1 method)

Parameters

  • a: Number
    • Complex number.
  • n: Int
    • Integer $n$ in $\Gamma_a^{\pm}$.
  • infty: Number
    • Range of plot. Default to the global variable INFTY.
  • sampleSize: Int
    • Number of points to sample.

Returns

  • trace_contour: None
    • Plots the sampled points.

Example

In [41]:
n = 2
a = 1
sampleSize = 1000
trace_contour(a, n, sampleSize)
Out[41]:
Re -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 h,j,k,l,arrows,drag to pan i,o,+,-,scroll,shift-drag to zoom r,dbl-click to reset c for coordinates ? for help ? -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Im
In [42]:
n = 3
a = im
sampleSize = 1000
trace_contour(a, n, sampleSize)
Out[42]:
Re -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 h,j,k,l,arrows,drag to pan i,o,+,-,scroll,shift-drag to zoom r,dbl-click to reset c for coordinates ? for help ? -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Im
In [43]:
n = 3
a = -im
sampleSize = 1000
trace_contour(a, n, sampleSize)
Out[43]:
Re -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 h,j,k,l,arrows,drag to pan i,o,+,-,scroll,shift-drag to zoom r,dbl-click to reset c for coordinates ? for help ? -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Im

get_distancePointLine(z, theta)

Finds the distance between a complex number and a line through the origin given by an angle in $[0,2pi)$.

In [44]:
function get_distancePointLine(z::Number, theta::Number)
    if theta >= 2pi && theta < 0
        throw(error("Theta must be in [0,2pi)"))
    else
        if is_approx(argument(z), theta)
            return 0
        else
            x0, y0 = real(z), imag(z)
            if is_approx(theta, pi/2) || is_approx(theta, 3pi/2)
                return abs(x0)
            elseif is_approx(theta, 0) || is_approx(theta, 2pi)
                return abs(y0)
            else
                k = tan(theta)
                x = (y0+1/k*x0)/(k+1/k)
                y = k*x
                distance = norm(z-(x+im*y))
                return distance
            end
        end
    end
end
Out[44]:
get_distancePointLine (generic function with 1 method)

Parameters

  • z: Number
    • Point in the complex plane.
  • theta: Number
    • Line passing the origin given by the argument of any point (besides the origin) on it.

Returns

  • get_distancePointLine: Number
    • Returns the distance between z and the line characterized by theta.

Example

In [45]:
z = 1
theta = pi/3
println("get_distancePointLine($z, $theta) = $(get_distancePointLine(z, theta))") # sqrt(3)/2
get_distancePointLine(1, 1.0471975511965976) = 0.8660254037844386

Structs

StructDefinitionError

A struct definition error type is the class of all errors in struct definitions.

In [46]:
struct StructDefinitionError <: Exception
    msg::String
end

SymLinearDifferentialOperator(symPFunctions, interval, t)

A symbolic linear differential operator of order $n$ is encoded by an $1 \times (n+1)$ array of symbolic expressions with at most one free symbol, an interval $[a,b]$, and that free symbol.

In [47]:
struct SymLinearDifferentialOperator
    # Entries in the array should be SymPy.Sym or Number. SymPy.Sym seems to be a subtype of Number, i.e., Array{Union{Number,SymPy.Sym}} returns Array{Number}. But specifying symPFunctions as Array{Number,2} gives a MethodError when the entries are Sympy.Sym objects.
    symPFunctions::Array
    interval::Tuple{Number,Number}
    t::SymPy.Sym
    SymLinearDifferentialOperator(symPFunctions::Array, interval::Tuple{Number,Number}, t::SymPy.Sym) =
    try
        symL = new(symPFunctions, interval, t)
        check_symLinearDifferentialOperator_input(symL)
        return symL
    catch err
        throw(err)
    end
end

function check_symLinearDifferentialOperator_input(symL::SymLinearDifferentialOperator)
    symPFunctions, (a,b), t = symL.symPFunctions, symL.interval, symL.t
    for symPFunc in symPFunctions
        if isa(symPFunc, SymPy.Sym)
            if size(free_symbols(symPFunc)) != (1,) && size(free_symbols(symPFunc)) != (0,)
                throw(StructDefinitionError(:"Only one free symbol is allowed in symP_k"))
            end
        elseif !isa(symPFunc, Number)
            throw(StructDefinitionError(:"symP_k should be SymPy.Sym or Number"))
        end
    end
    return true
end
Out[47]:
check_symLinearDifferentialOperator_input (generic function with 1 method)

Parameters

  • symPFunctions: Array of SymPy.Sym or Number
    • Array $[symP_0, symP_1, \ldots, symP_n]$ of length $n+1$, corresponding to the symbolic linear differential operator $symL$ of order $n$ given by $$symLx = symP_0x^{(n)} + symP_1x^{(n-1)} + \cdots + symP_{n-1}x^{(1)} + symP_n x.$$
  • interval: Tuple{Number, Number}
    • Tuple of two numbers $(a,b)$ corresponding to the real interval $[a,b]$ on which the symbolic differential operator $symL$ is defined.
  • t: SymPy.Sym
    • Free symbol in each entry of symPFunctions.

Returns

  • SymLinearDifferentialOperator
    • Returns a SymLinearDifferentialOperator of order $n$ with attributes symPFunctions, interval, and t.

Example

In [48]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
Out[48]:
SymLinearDifferentialOperator(SymPy.Sym[1 t + 1 t^2 + t + 1], (0, 1), t)

LinearDifferentialOperator(pFunctions, interval, symL)

A linear differential operator $L$ of order $n$ given by $$Lx = p_0x^{(n)} + p_1x^{(n-1)} + \cdots + p_{n-1}x^{(1)} + p_n x$$ is encoded by an $1 \times (n+1)$ array of univariate functions, an interval $[a,b]$, and its symbolic expression.

In [49]:
# symL is an attribute of L that needs to be input by the user. There are checks to make sure symL is indeed the symbolic version of L.
# Principle: Functionalities of Julia Functions >= Functionalities of SymPy. If p_k has no SymPy representation, the only consequence should be that outputs by functions that take L as arugment has no symbolic expression. E.g., we allow L.pFunctions and L.symL.pFunctions to differ.
struct LinearDifferentialOperator
    pFunctions::Array # Array of julia functions or numbers representing constant functions
    interval::Tuple{Number,Number}
    symL::SymLinearDifferentialOperator
    LinearDifferentialOperator(pFunctions::Array, interval::Tuple{Number,Number}, symL::SymLinearDifferentialOperator) =
    try
        L = new(pFunctions, interval, symL)
        check_linearDifferentialOperator_input(L)
        return L
    catch err
        throw(err)
    end
end

# Assume symFunc has only one free symbol, as required by the definition of SymLinearDifferentialOperator. 
# That is, assume the input symFunc comes from SymLinearDifferentialOperator.
function check_func_sym_equal(func::Union{Function,Number}, symFunc, interval::Tuple{Number,Number}, t::SymPy.Sym) # symFunc should be Union{SymPy.Sym, Number}, but somehow SymPy.Sym gets ignored
    (a,b) = interval
    # Randomly sample 1000 points from (a,b) and check if func and symFunc agree on them
    for i = 1:1000
        # Check endpoints
        if i == 1
            x = a
        elseif i == 2
            x = b
        else
            x = rand(Uniform(a,b), 1)[1,1]
        end
        funcEvalX = evaluate.(func, x)
        if isa(symFunc, SymPy.Sym)
            symFuncEvalX = SymPy.N(subs(symFunc,t,x))
            # N() converts SymPy.Sym to Number
            # https://docs.sympy.org/latest/modules/evalf.html
            # subs() works no matter symFunc is Number or SymPy.Sym
        else
            symFuncEvalX = symFunc
        end
        tol = set_tol(funcEvalX, symFuncEvalX)
        if !isapprox(real(funcEvalX), real(symFuncEvalX); atol = real(tol)) ||
            !isapprox(imag(funcEvalX), imag(symFuncEvalX); atol = imag(tol))
            println("x = $x")
            println("symFunc = $symFunc")
            println("funcEvalX = $funcEvalX")
            println("symFuncEvalX = $symFuncEvalX")
            return false
        end
    end
    return true
end

# Check whether the inputs of L are valid.
function check_linearDifferentialOperator_input(L::LinearDifferentialOperator)
    pFunctions, (a,b), symL = L.pFunctions, L.interval, L.symL
    symPFunctions, t = symL.symPFunctions, symL.t
    # domainC = Complex(a..b, 0..0) # Domain [a,b] represented in the complex plane
    p0 = pFunctions[1]
    # p0Chebyshev = Fun(p0, a..b) # Chebysev polynomial approximation of p0 on [a,b]
    if !check_all(pFunctions, pFunc -> (isa(pFunc, Function) || isa(pFunc, Number)))
        throw(StructDefinitionError(:"p_k should be Function or Number"))
    elseif length(pFunctions) != length(symPFunctions)
        throw(StructDefinitionError(:"Number of p_k and symP_k do not match"))
    elseif (a,b) != symL.interval
        throw(StructDefinitionError(:"Intervals of L and symL do not match"))
    # # Assume p_k are in C^{n-k}. Check whether p0 vanishes on [a,b]. 
    # # roots() in IntervalRootFinding doesn't work if p0 is sth like t*im - 2*im. Neither does find_zero() in Roots.
    # # ApproxFun.roots() 
    # elseif (isa(p0, Function) && (!isempty(roots(p0Chebyshev)) || all(x->x>b, roots(p0Chebyshev)) || all(x->x<b, roots(p0Chebyshev)) || p0(a) == 0 || p0(b) == 0)) || p0 == 0 
    #     throw(StructDefinitionError(:"p0 vanishes on [a,b]"))
    elseif !all(i -> check_func_sym_equal(pFunctions[i], symPFunctions[i], (a,b), t), 1:length(pFunctions))
        # throw(StructDefinitionError(:"symP_k does not agree with p_k on [a,b]"))
        warn("symP_k does not agree with p_k on [a,b]") # Make this a warning instead of an error because the functionalities of Julia Functions may be more than those of SymPy objects; we do not want to compromise the functionalities of LinearDifferentialOperator because of the restrictions on SymPy.
    else
        return true
    end
end
Out[49]:
check_linearDifferentialOperator_input (generic function with 1 method)

Parameters

  • pFunctions: Array of Function or Number
    • Array $[p_0, p_1, \ldots, p_n]$ of length $n+1$, corresponding to the linear differential operator $L$ of order $n$ given by $$Lx = p_0x^{(n)} + p_1x^{(n-1)} + \cdots + p_{n-1}x^{(1)} + p_n x.$$
  • interval: Tuple{Number, Number}
    • Tuple of two numbers (a, b) corresponding to the real interval $[a,b]$ on which the differential operator $L$ is defined.
  • symL: SymLinearDifferentialOperator
    • Symbolic linear differential operator corresponding to $L$.

Returns

  • LinearDifferentialOperator
    • Returns a LinearDifferentialOperator of order $n$ with attributes pFunctions, interval, and symL.

Example

In [50]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
# Direct construction
pFunctions = [t->1 t->t+1 t->t^2+t+1]
L = LinearDifferentialOperator(pFunctions, interval, symL)
Out[50]:
LinearDifferentialOperator(Function[#20 #21 #22], (0, 1), SymLinearDifferentialOperator(SymPy.Sym[1 t + 1 t^2 + t + 1], (0, 1), t))

VectorBoundaryForm(M, N)

A set of homogeneous boundary conditions in vector form $$Ux = \begin{bmatrix}U_1\\\vdots\\ U_m\end{bmatrix}x = \begin{bmatrix}\sum_{j=1}^n M_{1j}x^{(j-1)}(a) + N_{1j}x^{(j-1)}(b)\\\vdots\\ \sum_{j=1}^n M_{mj}x^{(j-1)}(a) + N_{mj}x^{(j-1)}(b)\end{bmatrix} = \begin{bmatrix}0\\\vdots\\ 0\end{bmatrix}$$ is encoded by an ordered pair of two linearly independent $m\times n$ matrices $(M, N)$ where $$M = \begin{bmatrix}M_{11} & \cdots & M_{1n}\\ \vdots & \ddots & \vdots\\ M_{m1} & \cdots & M_{mn}\end{bmatrix},\quad N = \begin{bmatrix}N_{11} & \cdots & N_{1n}\\ \vdots & \ddots & \vdots\\ N_{m1} & \cdots & N_{mn}\end{bmatrix}.$$

In [51]:
struct VectorBoundaryForm
    M::Array # Why can't I specify Array{Number,2} without having a MethodError?
    N::Array
    VectorBoundaryForm(M::Array, N::Array) =
    try
        U = new(M, N)
        check_vectorBoundaryForm_input(U)
        return U
    catch err
        throw(err)
    end
end

# Check whether the input matrices that characterize U are valid
function check_vectorBoundaryForm_input(U::VectorBoundaryForm)
    # M, N = U.M, U.N
    # Avoid Inexact() error when taking rank()
    M = convert(Array{Complex}, U.M)
    N = convert(Array{Complex}, U.N)
    if !(check_all(U.M, x -> isa(x, Number)) && check_all(U.N, x -> isa(x, Number)))
        throw(StructDefinitionError(:"Entries of M, N should be Number"))
    elseif size(U.M) != size(U.N)
        throw(StructDefinitionError(:"M, N dimensions do not match"))
    elseif size(U.M)[1] != size(U.M)[2]
        throw(StructDefinitionError(:"M, N should be square matrices"))
    elseif rank(hcat(M, N)) != size(M)[1] # rank() throws weird "InexactError()" when taking some complex matrices
        throw(StructDefinitionError(:"Boundary operators not linearly independent"))
    else
        return true
    end
end
Out[51]:
check_vectorBoundaryForm_input (generic function with 1 method)

Parameters

  • M, N: Array of Number
    • Two linearly independent numeric matrices of the same dimension.

Returns

  • VectorBoundaryForm
    • Returns a VectorBoundaryForm with attributes M and N.

Example

In [52]:
M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)
Out[52]:
VectorBoundaryForm([1 0; 2 0], [0 2; 0 1])

Construct adjoint boundary conditions

Constructs a valid adjoint boundary condition from a given (homogeneous) boundary condition based on Chapter 11 in Theory of Ordinary Differential Equations (Coddington & Levinson).

get_L(symL)

Constructs a LinearDifferentialOperator from a given SymLinearDifferentialOperator.

In [53]:
function get_L(symL::SymLinearDifferentialOperator)
    symPFunctions, (a,b), t = symL.symPFunctions, symL.interval, symL.t
    if check_all(symPFunctions, x->!isa(x, SymPy.Sym))
        pFunctions = symPFunctions
    else
        pFunctions = sym_to_func.(symPFunctions)
    end
    L = LinearDifferentialOperator(pFunctions, (a,b), symL)
    return L
end
Out[53]:
get_L (generic function with 1 method)

Parameters

  • symL: SymLinearDifferentialOperator
    • Symbolic linear differential operator to be converted.

Returns

  • get_L: LinearDifferentialOperator
    • Returns the linear differential operator converted from symL.

Example

In [54]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)
Out[54]:
LinearDifferentialOperator(#func#10{SymPy.Sym}[func func func], (0, 1), SymLinearDifferentialOperator(SymPy.Sym[1 t + 1 t^2 + t + 1], (0, 1), t))

get_URank(U)

Computes the rank of a vector boundary form $U$ by computing the equivalent $\text{rank}(M:N)$, where $M, N$ are the matrices associated with $U$ and $$(M:N) = \begin{bmatrix}M_{11} & \cdots & M_{1n} & N_{11} & \cdots & N_{1n}\\ \vdots & \ddots & \vdots & \vdots & \ddots & \vdots\\ M_{m1} & \cdots & M_{mn} & N_{m1} & \cdots & N_{mn}\end{bmatrix}.$$

In [55]:
function get_URank(U::VectorBoundaryForm)
    # Avoid InexactError() when taking hcat() and rank()
    M = convert(Array{Complex}, U.M)
    N = convert(Array{Complex}, U.N)
    MHcatN = hcat(M, N)
    return rank(MHcatN)
end
Out[55]:
get_URank (generic function with 1 method)

Parameters

  • U: VectoBoundaryForm
    • Vector boundary form whose rank is to be computed.

Returns

  • get_URank: Number
    • Returns the rank of U.

Example

In [56]:
M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)
get_URank(U)
Out[56]:
2

get_Uc(U)

Given vector boundary form $U = \begin{bmatrix}U_1\\ \vdots\\ U_m\end{bmatrix}$ of rank $m$, finds a complementary form $U_c = \begin{bmatrix}U_{m+1}\\ \vdots\\ U_{2n}\end{bmatrix}$ of rank $2n-m$ such that $\begin{bmatrix}U_1\\ \vdots\\ U_{2n}\end{bmatrix}$ has rank $2n$.

In [57]:
function get_Uc(U::VectorBoundaryForm)
    try
        check_vectorBoundaryForm_input(U)
        n = get_URank(U)
        I = complex(eye(2*n))
        M, N = U.M, U.N
        MHcatN = hcat(M, N)
        # Avoid InexactError() when taking rank()
        mat = convert(Array{Complex}, MHcatN)
        for i = 1:(2*n)
            newMat = vcat(mat, I[i:i,:])
            newMat = convert(Array{Complex}, newMat)
            if rank(newMat) == rank(mat) + 1
                mat = newMat
            end
        end
        UcHcat = mat[(n+1):(2n),:]
        Uc = VectorBoundaryForm(UcHcat[:,1:n], UcHcat[:,(n+1):(2n)])
        return Uc
    catch err
        return err
    end
end
Out[57]:
get_Uc (generic function with 1 method)

Parameters

  • U: VectoBoundaryForm
    • Vector boundary form whose complementary boundary form is to be found.

Returns

  • get_Uc: VectorBoundaryForm
    • Returns a vectory boundary form complementary to U.

Example

In [58]:
M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)
Uc = get_Uc(U)
Out[58]:
VectorBoundaryForm(Complex[0.0+0.0im 1.0+0.0im; 0.0+0.0im 0.0+0.0im], Complex[0.0+0.0im 0.0+0.0im; 1.0+0.0im 0.0+0.0im])

get_H(U, Uc)

Given a vector boundary form $U$ and a complementary vector boundary form $U_c$, constructs $$H = \begin{bmatrix}M&N\\ M_c & N_c\end{bmatrix},$$ where $M, N$ are the matrices associated with $U$ and $M_c, N_c$ are associated with $U_c$.

In [59]:
function get_H(U::VectorBoundaryForm, Uc::VectorBoundaryForm)
    MHcatN = hcat(convert(Array{Complex}, U.M), convert(Array{Complex}, U.N))
    McHcatNc = hcat(convert(Array{Complex}, Uc.M), convert(Array{Complex}, Uc.N))
    H = vcat(MHcatN, McHcatNc)
    return H
end
Out[59]:
get_H (generic function with 1 method)

Parameters

  • U: VectorBoundaryForm
    • Vector boundary form.
  • Uc: VectorBoundaryForm
    • Vector boundary form complementary to U.

Returns

  • get_H: Array
    • Returns the matrix $H$ defined above.

Example

In [60]:
M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)
Uc = get_Uc(U)
get_H(U, Uc)
Out[60]:
4×4 Array{Complex,2}:
   1+0im      0+0im      0+0im      2+0im  
   2+0im      0+0im      0+0im      1+0im  
 0.0+0.0im  1.0+0.0im  0.0+0.0im  0.0+0.0im
 0.0+0.0im  0.0+0.0im  1.0+0.0im  0.0+0.0im

get_pDerivMatrix(L; symbolic)

Given a LinearDifferentialOperator L where L.pFunctions is the array $$[p_0, p_1, \ldots, p_n],$$ constructs an $n\times n$ matrix whose $(i+1)(j+1)$-entry is a function corresponding to the $j$th derivative of $p_i$: $$\begin{bmatrix}p_0 & \cdots & p_0^{(n-1)}\\ \vdots & \ddots & \vdots\\ p_{n-1} & \cdots & p_{n-1}^{(n-1)}\end{bmatrix}.$$

In [61]:
function get_pDerivMatrix(L::LinearDifferentialOperator; symbolic = false)
    if symbolic
        symL = L.symL
        symPFunctions, t = symL.symPFunctions, symL.t
        n = length(symPFunctions)-1
        symPDerivMatrix = Array{SymPy.Sym}(n,n)
        pFunctionSymbols = symPFunctions
        for i in 0:(n-1)
            for j in 0:(n-1)
                index, degree = i, j
                symP = pFunctionSymbols[index+1]
                # If symP is not a Sympy.Sym object (e.g., is a Number instead), then cannot use get_deriv()
                if !isa(symP, SymPy.Sym)
                    if degree > 0
                        symPDeriv = 0
                    else
                        symPDeriv = symP
                    end
                else
                    symPDeriv = get_deriv(symP, degree)
                end
                symPDerivMatrix[i+1,j+1] = symPDeriv
            end
        end
        return symPDerivMatrix
    else
        symPDerivMatrix = get_pDerivMatrix(L; symbolic = true)
        n = length(L.pFunctions)-1
        pDerivMatrix = sym_to_func.(symPDerivMatrix)
    end
    return pDerivMatrix
end
Out[61]:
get_pDerivMatrix (generic function with 1 method)

Parameters

  • L: LinearDifferentialOperator
    • Linear differential operator whose pDerivMatrix is to be constructed.
  • symbolic*: Bool
    • Boolean indicating whether the output is symbolic.

Returns

  • get_pDerivMatrix: Array of Function, Number or SymPy.Sym
    • Returns an $n\times n$ matrix whose $(i+1)(j+1)$-entry is
      • the $j$th derivative of $p_i$ (L.pFunctions[i]) if symbolic = false, or
      • the symbolic expression of the $j$th derivative of $p_i$ (L.symL.symPFunctions[i]) if symbolic = true.

Example

In [62]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
# pFunctions = [t->1 t->t+1 t->t^2+t+1]
# L = LinearDifferentialOperator(pFunctions, interval, symL)
L = get_L(symL)

tVal = 2
pDerivMatrix = get_pDerivMatrix(L; symbolic = false)
println("pDerivMatrix($tVal) = $(evaluate.(pDerivMatrix,tVal))")

symPDerivMatrix = get_pDerivMatrix(L; symbolic = true)
pDerivMatrix(2) = [1 0; 3 1]
Out[62]:
\begin{bmatrix}1&0\\t + 1&1\end{bmatrix}

get_Bjk(L, j, k; symbolic, pDerivMatrix)

Given a LinearDifferentialOperator L of order $n$, for $j, k \in \{1,\ldots,n\}$, computes $B_{jk}$ defined as $$B_{jk}(t) := \sum_{\ell=j-1}^{n-k}\binom{\ell}{j-1}p^{(\ell-j+1)}_{n-k-\ell}(t)(-1)^\ell.$$

In [63]:
function get_Bjk(L::LinearDifferentialOperator, j::Int, k::Int; symbolic = false, pDerivMatrix = get_pDerivMatrix(L; symbolic = symbolic))
    n = length(L.pFunctions)-1
    if j <= 0 || j > n || k <= 0 || k > n
        throw("j, k should be in {1, ..., n}")
    end
    sum = 0
    if symbolic
        symPDerivMatrix = get_pDerivMatrix(L; symbolic = true)
        for l = (j-1):(n-k)
            summand = binomial(l, j-1) * symPDerivMatrix[n-k-l+1, l-j+1+1] * (-1)^l
            sum += summand
        end
    else
        for l = (j-1):(n-k)
            summand = mult_func(binomial(l, j-1) * (-1)^l, pDerivMatrix[n-k-l+1, l-j+1+1])
            sum = add_func(sum, summand)
        end
    end
    return sum
end
Out[63]:
get_Bjk (generic function with 1 method)

Parameters

  • L: LinearDifferentialOperator
    • Linear differential operator whose L.pFunctions are to become the $p_{n-k-l}^{l-j+1}$ in $B_{jk}(t)$.
  • j, k: Int
    • Integers corresponding to the $j$ and $k$ in $B_{jk}$.
  • symbolic*: Bool
    • Boolean indicating whether the output is symbolic.
  • pDerivMatrix*: Array
    • If symbolic = false, an $n\times n$ matrix whose $(i+1)(j+1)$-entry is the $j$th derivative of $p_i$ (L.pFunctions[i]) implemented as a Function, Number, or SymPy.Sym. Default to the output of get_pDerivMatrix(L).

Returns

  • get_Bjk: SymPy.Sym, Function, or Number
    • Returns $B_{jk}(t)$ defined above,
      • as Function if symbolic = false, or
      • as SymPy.Sym object if symbolic = true, where each $p_i$ is the generic expression $p_i(t)$.

Example

In [64]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)

# pFunctions = [t->1 t->t+1 t->t^2+t+1]
# L = LinearDifferentialOperator(pFunctions, interval, symL)
L = get_L(symL)

# pDerivMatrix = [1 0; t->1+t t->1]
j, k = 1, 1
BjkSym = get_Bjk(L, j, k; symbolic = true)
Out[64]:
$$t + 1$$
In [65]:
tVal = 1
Bjk = get_Bjk(L, j, k; symbolic = false)
println("Bjk($tVal) = $(Bjk(tVal))")
println("BjkSym($tVal) = $(evaluate.(BjkSym, tVal))")
Bjk(1) = 2
BjkSym(1) = 2

get_B(L; symbolic, pDerivMatrix)

Given a LinearDifferentialOperator L where L.pFunctions is the array $$[p_0, p_1, \ldots, p_n],$$ constructs the matrix $B(t)$ whose $ij$-entry is given by $$B_{jk}(t) := \sum_{\ell=j-1}^{n-k}\binom{\ell}{j-1}p^{(\ell-j+1)}_{n-k-\ell}(t)(-1)^\ell.$$

In [66]:
function get_B(L::LinearDifferentialOperator; symbolic = false, pDerivMatrix = get_pDerivMatrix(L; symbolic = symbolic))
    n = length(L.pFunctions)-1
    B = Array{Union{Function, Number, SymPy.Sym}}(n,n)
    for j = 1:n
        for k = 1:n
            B[j,k] = get_Bjk(L, j, k; symbolic = symbolic, pDerivMatrix = pDerivMatrix)
        end
    end
    return B
end
Out[66]:
get_B (generic function with 1 method)

Parameters

  • L: LinearDifferentialOperator
    • Linear differential operator whose L.pFunctions are to become the $p_{n-k-l}^{l-j+1}$ in $B_{jk}(t)$.
  • symbolic*: Bool
    • Boolean indicating whether the output is symbolic.
  • substitute*: Bool
    • If symbolic = true, boolean indicating whether to substitute the symbolic expression of $p_i$ in L.pFunctions for the generic expression $p_i(t)$ created using SymFunction("pi")(t). If symbolic = false, the value of substitute does not matter.
  • pDerivMatrix*: Array
    • If symbolic = false, the non-symbolic version of symPDerivMatrix, i.e., an $n\times n$ matrix whose $(i+1)(j+1)$-entry is the $j$th derivative of $p_i$ (L.pFunctions[i]) implemented as a Function or Number.

Returns

  • get_B: Array of Function, SymPy.Sym, or Number
    • Returns $B(t)$ defined above, where $B_{jk}(t)$ is
      • Function if symbolic = false, or
      • SymPy.Sym object if symbolic = true, where each $p_i$ is
        • the generic expression $p_i(t)$ if substitute = false, or
        • the symbolic expression of $p_i(t)$ (L.symL.symPFunctions[i]) if substitute = true.

Example

In [67]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)

BSym = get_B(L; symbolic = true)
# Only Array{SymPy.Sym} would be automatically pretty-printed
# Enfore pretty-printing
prettyPrint.(BSym)
Out[67]:
\begin{bmatrix}t + 1&1\\-1&0\end{bmatrix}
In [68]:
B = get_B(L; symbolic = false)
tVal = 1
println("B($tVal) = $(evaluate.(B, tVal))")
println("BSym($tVal) = $(evaluate.(BSym, tVal))")
B(1) = [2 1; -1 0]
BSym(1) = Number[2 1; -1 0]

get_BHat(L, B)

Given a LinearDifferentialOperator L where L.pFunctions is the array $$[p_0, p_1, \ldots, p_n]$$ and L.interval is $[a,b]$, constructs $\hat{B}$ defined as the block matrix $$\hat{B}:=\begin{bmatrix}-B(a) & 0_n\\0_n & B(b)\end{bmatrix}.$$

In [69]:
function get_BHat(L::LinearDifferentialOperator, B::Array)
#     if check_any(B, x->isa(x, SymPy.Sym))
#         throw("Entries of B should be Function or Number")
#     end
    pFunctions, (a,b) = L.pFunctions, L.interval
    n = length(pFunctions)-1
    BHat = Array{Complex}(2n,2n)
    BEvalA = evaluate.(B, a)
    BEvalB = evaluate.(B, b)
    BHat[1:n,1:n] = -BEvalA
    BHat[(n+1):(2n),(n+1):(2n)] = BEvalB
    BHat[1:n, (n+1):(2n)] = 0
    BHat[(n+1):(2n), 1:n] = 0
    return BHat
end
Out[69]:
get_BHat (generic function with 1 method)

Parameters

  • L: LinearDifferentialOperator
    • Linear differential operator whose L.pFunctions are to become the $p_{n-k-l}^{l-j+1}$ in $B_{jk}(t)$.
  • B: Array of Number
    • Output of get_B(L; symbolic = false).

Returns

  • get_BHat: Array of Number
    • Returns $\hat{B}$ defined above.

Example

In [70]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)

B = get_B(L; symbolic = false)
get_BHat(L, B)
Out[70]:
4×4 Array{Complex,2}:
 -1+0im  -1+0im   0+0im  0+0im
  1+0im   0+0im   0+0im  0+0im
  0+0im   0+0im   2+0im  1+0im
  0+0im   0+0im  -1+0im  0+0im

get_J(BHat, H)

Given $\hat{B}$ and $H$, constructs $J$ defined as $$J:=(\hat{B}H^{-1})^\star$$ where $^*$ denotes conjugate transpose.

In [71]:
function get_J(BHat, H)
    n = size(H)[1]
    H = convert(Array{Complex}, H)
    J = (BHat * inv(H))'
    # J = convert(Array{Complex}, J)
    return J
end
Out[71]:
get_J (generic function with 1 method)

Parameters

  • BHat: Array
    • Output of get_BHat().
  • H: Array
    • Output of get_H().

Returns

  • get_J: Array
    • Returns $J$ defined above.

Example

In [72]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)

B = get_B(L; symbolic = false)
BHat = get_BHat(L, B)

M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)
Uc = get_Uc(U)
H = get_H(U, Uc)

get_J(BHat, H)
Out[72]:
4×4 Array{Complex,2}:
  0.333333-0.0im  -0.333333-0.0im   0.666667-0.0im   0.0-0.0im
 -0.666667-0.0im   0.666667-0.0im  -0.333333-0.0im   0.0-0.0im
      -1.0-0.0im        0.0-0.0im        0.0-0.0im   0.0-0.0im
       0.0-0.0im        0.0-0.0im        2.0-0.0im  -1.0-0.0im

get_adjointCand(J)

Given $J$, constructs a candidate adjoint vector boundary form $U^+$ from two matrices $P^\star$, $Q^\star$, which are the lower-left $n\times n$ submatrix of $J$, and the lower-right $n\times n$ submatrix of $J$, respectively.

In [73]:
function get_adjointCand(J)
    n = convert(Int, size(J)[1]/2)
    J = convert(Array{Complex}, J)
    PStar = J[(n+1):2n,1:n]
    QStar = J[(n+1):2n, (n+1):2n]
    adjointU = VectorBoundaryForm(PStar, QStar)
    return adjointU
end
Out[73]:
get_adjointCand (generic function with 1 method)

Parameters

  • J: Array
    • Output of get_J.

Returns

  • get_adjoint: VectorBoundaryForm
    • Returns $U^+$ defined above.

Example

In [74]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)

B = get_B(L; symbolic = false)
BHat = get_BHat(L, B)

M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)
Uc = get_Uc(U)
H = get_H(U, Uc)

J = get_J(BHat, H)
adjoint = get_adjointCand(J)
Out[74]:
VectorBoundaryForm(Complex[-1.0-0.0im 0.0-0.0im; 0.0-0.0im 0.0-0.0im], Complex[0.0-0.0im 0.0-0.0im; 2.0-0.0im -1.0-0.0im])

get_xi(L; symbolic, xSym)

Given a LinearDifferentialOperator L of order $n$ in the differential equation $Lx=0$, constructs $\xi(t)$, which is defined as the vector of derivatives of $x(t)$ $$\xi(t) := \begin{bmatrix}x(t)\\ x^{(1)}(t)\\ x^{(2)}(t)\\ \vdots\\ x^{(n-1)}(t)\end{bmatrix}.$$

In [75]:
function get_xi(L::LinearDifferentialOperator; symbolic = true, xSym= nothing)
    if symbolic
        t = L.symL.t
        n = length(L.pFunctions)-1
        symXi = Array{SymPy.Sym}(n,1)
        if isa(xSym, Void)
            throw(error("xSymrequired"))
        else
            for i = 1:n
                symXi[i] = get_deriv(xSym, i-1)
            end
            return symXi
        end
    else
        if isa(xSym, Void)
            throw(error("xSym required"))
        elseif !isa(xSym, SymPy.Sym) && !isa(xSym, Number)
            throw(error("xSym should be SymPy.Sym or Number"))
        else
            symXi = get_xi(L; symbolic = true, xSym = xSym)
            xi = sym_to_func.(symXi)
        end
    end
end
Out[75]:
get_xi (generic function with 1 method)

Parameters

  • L: LinearDifferentialOperator
    • Linear differential operator in the differential equation $Lx=0$; derivatives of $x(t)$ will be entries of $\xi(t)$.
  • symbolic: Bool
    • Boolean indicating whether the output is symbolic.
  • substitute*: Bool
    • If symbolic = true, boolean indicating whether to substitute the symbolic expression of $x(t)$ for the generic expression created using SymFunction.
  • xSym*: SymPy.Sym
    • If substitute = true, symbolic expression of $x(t)$ to replace the generic expression with.

Returns

  • get_xi: Array of SymPy.Sym
    • Returns an array whose $i$th entry is
      • the generic expression $\displaystyle\frac{d^{i-1}}{dt^{i-1}}x(t)$ if substitute = false, or
      • the symbolic expression of the ($i-1$)th derivative of $x(t)$ if substitute = true.

Example

In [76]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)
Out[76]:
LinearDifferentialOperator(#func#10{SymPy.Sym}[func func func], (0, 1), SymLinearDifferentialOperator(SymPy.Sym[1 t + 1 t^2 + t + 1], (0, 1), t))
In [77]:
xSym = t^2+2t
symXi = get_xi(L; symbolic = true, xSym = xSym)
Out[77]:
\begin{bmatrix}t^{2} + 2 t\\2 t + 2\end{bmatrix}
In [78]:
xi = get_xi(L; symbolic=false, xSym = xSym)
tVal = 1
println("xi($tVal) = $(evaluate.(xi, tVal))")
println("symXi($tVal) = $(evaluate.(symXi, tVal))")
xi(1) = [3; 4]
symXi(1) = [3; 4]

get_Ux(L, U, xSym)

Given a LinearDifferentialOperator L and a VectorBoundaryForm U, constructs the left hand side $$Ux = M\xi(a) + N\xi(b)$$ of the homogeneous boundary condition $Ux=0$, where \begin{align*} Ux &= \begin{bmatrix} \sum_{j=1}^n (M_{1j}x^{(j-1)}(a) + N_{1j}x^{(j-1)}(b))\\ \vdots\\ \sum_{j=1}^n (M_{mj}x^{(j-1)}(a) + N_{mj}x^{(j-1)}(b)) \end{bmatrix}\\ &= \begin{bmatrix} M_{11} & \cdots & M_{1n} & N_{11} & \cdots & N_{1n}\\ \vdots & & \vdots & \vdots & & \vdots\\ M_{m1} & \cdots & M_{mn} & N_{m1} & \cdots & N_{mn} \end{bmatrix} \begin{bmatrix}x(a)\\\vdots\\x^{(n-1)}(a)\\ x(b)\\\vdots\\x^{(n-1)}(b)\end{bmatrix}\\ &= (M:N)\begin{bmatrix} \xi(a)\\ \xi(b) \end{bmatrix}. \end{align*}

In [79]:
function get_Ux(L::LinearDifferentialOperator, U::VectorBoundaryForm, xSym)
    (a, b) = L.interval
    xi = get_xi(L; symbolic = false, xSym = xSym)
    xiEvalA = evaluate.(xi, a)
    xiEvalB = evaluate.(xi, b)
    M, N = U.M, U.N
    Ux = M*xiEvalA + N*xiEvalB
    return Ux
end
Out[79]:
get_Ux (generic function with 1 method)

Parameters

  • L: LinearDifferentialOperator
    • Linear differential operator in the differential equation $Lx=0$; derivatives of $x(t)$ will be entries of $\xi(t)$.
  • U: VectorBoundaryForm
    • Vector boundary form in the boundary condition $Ux$.
  • symX*: SymPy.Sym
    • Symbolic expression of $x(t)$ whose derivatives will be entries of $\xi(t)$.

Returns

  • get_boundaryCondition: Array of Number
    • Returns the $Ux$ in the homogeneous boundary condition $Ux=0$ defined above.

Example

In [80]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)
M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)

xSym = t^2+2t
Ux = get_Ux(L, U, xSym)
println("U($symX) = $Ux")
UndefVarError: symX not defined

Stacktrace:
 [1] include_string(::String, ::String) at .\loading.jl:522

check_adjoint(L, U, adjointU, B)

Given a boundary value problem $$Lx = 0,\quad Ux=0$$ with linear differential operator $L$ and vector boundary form $U$, a candidate adjoint vector boundary form $U^+$, and the matrix $B$ associated with $L$, checks whether the boundary condition $$U^+x = 0$$ is indeed adjoint to the boundary condition $$Ux=0.$$

In [81]:
function check_adjoint(L::LinearDifferentialOperator, U::VectorBoundaryForm, adjointU::VectorBoundaryForm, B::Array)
    (a, b) = L.interval
    M, N = U.M, U.N
    P, Q = (adjointU.M)', (adjointU.N)'
    # Avoid InexactError() when taking inv()
    BEvalA = convert(Array{Complex}, evaluate.(B, a))
    BEvalB = convert(Array{Complex}, evaluate.(B, b))
    left = M * inv(BEvalA) * P
    right = N * inv(BEvalB) * Q
#     println("left = $left")
#     println("right = $right")
    tol = set_tol(left, right)
    return all(i -> isapprox(left[i], right[i]; atol = tol), 1:length(left)) # Can't use == to deterimine equality because left and right are arrays of floats
end
Out[81]:
check_adjoint (generic function with 1 method)

Parameters

  • L: LinearDifferentialOperator
    • Linear differential operator in the differential equation $Lx=0$.
  • U: VectorBoundaryForm
    • Vector boundary form in the boundary condition $Ux=0$.
  • adjointU: VectorBoundaryForm
    • Vector boundary form in the candidate adjoint boundary condition $U^+x=0$.
  • B: Array of Number
    • Output of get_B(L).

Returns

  • check_adjoint: Bool
    • Returns
      • true if adjointU is indeed adjoint to U, or
      • false otherwise.

Example

In [82]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)
M = [1 0; 2 0]
N = [0 2; 0 1]
# M = [3.9 5.4; 1+2*im 2]
# N = [4.7 8.1 + im; 0.5*im 10]
U = VectorBoundaryForm(M, N)
Uc = get_Uc(U)

# Non-symbolic
B = get_B(L)
BHat = get_BHat(L, B)
H = get_H(U, Uc)
J = get_J(BHat, H)
adjointU = get_adjointCand(J)

check_adjoint(L, U, adjointU, B)
Out[82]:
true

get_adjointU(L, U, pDerivMatrix)

Given a boundary value problem $$Lx = p_0x^{(n)} + p_1x^{(n-1)} + \cdots + p_{n-1}x^{(1)} + p_n x = 0,\quad Ux=0$$ with linear differential operator $L$ and vector boundary form $U$, an $n\times n$ matrix of derivatives $$\begin{bmatrix}p_0 & \cdots & p_0^{(n-1)}\\ \vdots & \ddots & \vdots\\ p_{n-1} & \cdots & p_{n-1}^{(n-1)}\end{bmatrix},$$ construct $U^+$ such that the boundary condition $U^+=0$ is adjoint to the original boundary condition $Ux=0$.

In [83]:
function get_adjointU(L::LinearDifferentialOperator, U::VectorBoundaryForm, pDerivMatrix=get_pDerivMatrix(L))
    B = get_B(L; pDerivMatrix = pDerivMatrix)
    BHat = get_BHat(L, B)
    Uc = get_Uc(U)
    H = get_H(U, Uc)
    J = get_J(BHat, H)
    adjointU = get_adjointCand(J)
    if check_adjoint(L, U, adjointU, B)
        return adjointU
    else
        throw(error("Adjoint found not valid"))
    end
end
Out[83]:
get_adjointU (generic function with 2 methods)

Parameters

  • L: LinearDifferentialOperator
    • Linear differential operator in the differential equation $Lx=0$.
  • U: VectorBoundaryForm
    • Vectory boundary form in the boundary condition $Ux=0$.
  • pDerivMatrix: Array of Function, Number, or SymPy.#
    • An $n\times n$ matrix defined above, which can be
      • output of get_pDerivMatrix (SymPy.#), or
      • user input.

Returns

  • get_adjointU: VectorBoundaryForm
    • Returns a valid vector boundary form $U^+$ such that the boundary condition $U^+x=0$ is adjoint to $Ux=0$.

Example

In [84]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
# pFunctions = [t->1 t->t+1 t->t^2+t+1]
# L = LinearDifferentialOperator(pFunctions, interval, symL)
L = get_L(symL)
M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)

adjointU = get_adjointU(L, U)
Out[84]:
VectorBoundaryForm(Complex[-1.0-0.0im 0.0-0.0im; 0.0-0.0im 0.0-0.0im], Complex[0.0-0.0im 0.0-0.0im; 2.0-0.0im -1.0-0.0im])

Approximate roots of exponential polynomial

Helps user to find the roots of an exponential polynomial $\Delta(\lambda)$ where $\lambda\in\mathbb{C}$ by visualizing the roots as the intersections of the level curves $\Re(\Delta) = 0$ and $\Im(\Delta) = 0$.

separate_real_imaginary(delta)

Separates real and imaginary parts of the symbolic expression of $\Delta(\lambda)$, an exponential polynomial in one variable.

separate_real_imaginary_exp(expr)

Helper function that deals with the case where the toplevel operation is exponentiation.

In [85]:
# although the function body is the same as "power" and "others", this case is isolated because negative exponents, e.g., factor_list(e^(-im*x)), give PolynomialError('a polynomial expected, got exp(-I*x)',), while factor_list(cos(x)) runs normally
function separate_real_imaginary_exp(expr::SymPy.Sym)
    result = real(expr) + im*imag(expr)
    return result
end
Out[85]:
separate_real_imaginary_exp (generic function with 1 method)

Parameters

  • expr: SymPy.Sym
    • Symbolic expression in $x+iy$ whose toplevel operation is exponentiation, i.e., SymPy.func(expr) = SymPy.func(sympyExpExpr).

Returns

  • separate_real_imaginary_exp: SymPy.Sym
    • Returns a symbolic expression whose real and imaginary parts are separated.

Example

In [86]:
x = symbols("x", real = true)
y = symbols("y", real = true)
expr = e^(x+im*y)
println("func($expr) = $(SymPy.func(expr))")
separate_real_imaginary_exp(expr)
func(exp(x + I*y)) = exp
Out[86]:
$$i e^{x} \sin{\left (y \right )} + e^{x} \cos{\left (y \right )}$$

separate_real_imaginary_power(expr)

Helper function that deals with the case where the toplevel operation is power.

In [87]:
# we won't be dealing with cases like x^(x^x)
function separate_real_imaginary_power(expr::SymPy.Sym)
    result = real(expr) + im*imag(expr)
    return result
end
Out[87]:
separate_real_imaginary_power (generic function with 1 method)

Parameters

  • expr: SymPy.Sym
    • Symbolic expression in $x+iy$ whose toplevel operation is power, i.e., SymPy.func(expr) = SymPy.func(sympyPowerExpr).

Returns

  • separate_real_imaginary_power: SymPy.Sym
    • Returns a symbolic expression whose real and imaginary parts are separated.

Example

In [88]:
x = symbols("x", real = true)
y = symbols("y", real = true)
expr = (x+im*y)^2
println("func($expr) = $(SymPy.func(expr))")
separate_real_imaginary_power(expr)
func((x + I*y)^2) = <class 'sympy.core.power.Pow'>
Out[88]:
$$x^{2} + 2 i x y - y^{2}$$

separate_real_imaginary_mult(expr)

Helper function that deals with the case where the toplevel operation is multiplication.

In [89]:
function separate_real_imaginary_mult(expr::SymPy.Sym)
    terms = args(expr)
    result = 1
    # if the expanded expression contains toplevel multiplication, the individual terms must all be exponentials or powers
    for term in terms
        # println("term = $term")
        # if term is exponential
        if SymPy.func(term) == SymPy.func(sympyExpExpr)
            termSeparated = separate_real_imaginary_exp(term)
        # if term is power (not sure if this case and the case below overlaps)
        elseif SymPy.func(term) == SymPy.func(sympyPowerExpr)
            termSeparated = separate_real_imaginary_power(term)
            # else, further split each product term into indivdual factors (this case also includes the case where term is a number, which would go into the "constant" below)
        else
            termSeparated = term # term is a number
#             (constant, factors) = factor_list(term)
#             termSeparated = constant
#             # separate each factor into real and imaginary parts and collect the product of separated factors
#             for (factor, power) in factors
#                 factor = factor^power
#                 termSeparated = termSeparated * (real(factor) + im*imag(factor))
#             end
        end
        # println("termSeparated = $termSeparated") 
        # collect the product of separated term, i.e., product of separated factors
        result = result * termSeparated
    end
    result = real(result) + im*imag(result)
    return result
end
Out[89]:
separate_real_imaginary_mult (generic function with 1 method)

Parameters

  • expr: SymPy.Sym
    • Symbolic expression in $x+iy$ whose toplevel operation is multiplication, i.e., SymPy.func(expr) = SymPy.func(sympyMultExpr).

Returns

  • separate_real_imaginary_mult: SymPy.Sym
    • Returns a symbolic expression whose real and imaginary parts are separated.

Example

In [90]:
x = symbols("x", real = true)
y = symbols("y", real = true)
expr = (x+im*y)*2x
println("func($expr) = $(SymPy.func(expr))")
separate_real_imaginary_mult(expr)
func(2*x*(x + I*y)) = <class 'sympy.core.mul.Mul'>
Out[90]:
$$2 x^{2} + 2 i x y$$

separate_real_imaginary_add(expr)

Helper function that deals with the case where the toplevel operation is addition.

In [91]:
function separate_real_imaginary_add(expr::SymPy.Sym)
    x = symbols("x")
    # if the expanded expression contains toplevel addition, the individual terms must all be products or symbols
    terms = args(expr)
    result = 0
    # termSeparated = 0 # to avoid undefined error if there is no else (case incomplete)
    for term in terms
        # println("term = $term")
        # if term is a symbol
        if SymPy.func(term) == SymPy.func(x)
            termSeparated = term
        # if term is exponential
        elseif SymPy.func(term) == SymPy.func(sympyExpExpr)
            termSeparated = separate_real_imaginary_exp(term)
        # if term is a power
        elseif SymPy.func(term) == SymPy.func(sympyPowerExpr)
            termSeparated = separate_real_imaginary_power(term)
        # if term is a product
        elseif SymPy.func(term) == SymPy.func(sympyMultExpr)
            termSeparated = separate_real_imaginary_mult(term)
        # if term is a number
        else
            termSeparated = term
        end
        # println("termSeparated = $termSeparated")
        result = result + termSeparated
    end
    result = real(result) + im*imag(result)
    return result
end
Out[91]:
separate_real_imaginary_add (generic function with 1 method)

Parameters

  • expr: SymPy.Sym
    • Symbolic expression in $x+iy$ whose toplevel operation is addition, i.e., SymPy.func(expr) = SymPy.func(sympAddExpr).

Returns

  • separate_real_imaginary_add: SymPy.Sym
    • Returns a symbolic expression whose real and imaginary parts are separated.

Example

In [92]:
x = symbols("x", real = true)
y = symbols("y", real = true)
expr = (x+im*y) + 2x
println("func($expr) = $(SymPy.func(expr))")
separate_real_imaginary_add(expr)
func(3*x + I*y) = <class 'sympy.core.add.Add'>
Out[92]:
$$3 x + i y$$

separate_real_imaginary_power_mult_add(expr)

Helper function that deals with the cases where the toplevel operation is power, addition, or multiplication.

In [93]:
function separate_real_imaginary_power_mult_add(expr::SymPy.Sym)
    if SymPy.func(expr) == SymPy.func(sympyPowerExpr)
        result = separate_real_imaginary_power(expr)
    elseif SymPy.func(expr) == SymPy.func(sympyMultExpr)
        result = separate_real_imaginary_mult(expr)
        else #if SymPy.func(expr) == SymPy.func(sympyAddExpr)
        result = separate_real_imaginary_add(expr)
#     else
#         result = expr
    end
    return result
end
Out[93]:
separate_real_imaginary_power_mult_add (generic function with 1 method)

Parameters

  • expr: SymPy.Sym
    • Symbolic expression in $x+iy$ whose toplevel operation is power, multiplication, or addition, i.e., SymPy.func(expr) = SymPy.func(sympPowerExpr), SymPy.func(sympMultExpr), or SymPy.func(sympAddExpr).

Returns

  • separate_real_imaginary_power_mult_add: SymPy.Sym
    • Returns a symbolic expression whose real and imaginary parts are separated.

Example

In [94]:
x = symbols("x", real = true)
y = symbols("y", real = true)
expr = (x+im*y) + 2x
println("func($expr) = $(SymPy.func(expr))")
separate_real_imaginary_power_mult_add(expr)
func(3*x + I*y) = <class 'sympy.core.add.Add'>
Out[94]:
$$3 x + i y$$

separate_real_imaginary_others(expr)

Helper function that deals with the case where the toplevel operation is not exponentiation, power, multiplication or addition. In this case, expr must be a single term, e.g., x or cos(2x+1), which is a function wrapping around an expression. So we use the other helper functions to separate the expression wrapped in the function and feed it back to the function.

In [95]:
function separate_real_imaginary_others(expr::SymPy.Sym)
    # if the expanded expression is neither of the above, it must be a single term, e.g., x or cos(2x+1), which is a function wrapping around an expression; in this case, use the helper function to clean up the expression and feed it back to the function
    term = args(expr)[1]
    termCleaned = separate_real_imaginary_power_mult_add(term)
    result = subs(expr,args(expr)[1],termCleaned)
    result = real(result) + im*imag(result)
    return result
end
Out[95]:
separate_real_imaginary_others (generic function with 1 method)

Parameters

  • expr: SymPy.Sym
    • Symbolic expression in $x+iy$ whose toplevel operation is not power, multiplication, or addition, i.e., SymPy.func(expr) != SymPy.func(sympPowerExpr), SymPy.func(sympMultExpr), or SymPy.func(sympAddExpr).

Returns

  • separate_real_imaginary_others: SymPy.Sym
    • Returns a symbolic expression whose real and imaginary parts are separated.

Example

In [96]:
x = symbols("x", real = true)
y = symbols("y", real = true)
expr = cos(x+im*y)
println("func($expr) = $(SymPy.func(expr))")
separate_real_imaginary_others(expr)
func(cos(x + I*y)) = cos
Out[96]:
$$- i \sin{\left (x \right )} \sinh{\left (y \right )} + \cos{\left (x \right )} \cosh{\left (y \right )}$$

separate_real_imaginary(delta)

The main function that separates the real and imaginary parts of $\Delta$, an exponential polynomial in one variable.

In [97]:
function separate_real_imaginary(delta::SymPy.Sym)
    x = symbols("x", real = true)
    y = symbols("y", real = true)
    
    freeSymbols = free_symbols(delta)
    # check if delta has one and only one free symbol (e.g., global variable lambda)
    if length(freeSymbols) == 1
        lambda = freeSymbols[1]
        # substitute lambda with x+iy
        expr = subs(delta, lambda, x+im*y)
        # expand the new expression
        expr = expand(expr)
        
        if SymPy.func(expr) == SymPy.func(sympyPowerExpr)
#             println(expr)
#             println("power!")
            result = separate_real_imaginary_power(expr)
#             println("result = $result")
        elseif SymPy.func(expr) == SymPy.func(sympyAddExpr)
#             println(expr)
#             println("addition!")
            result = separate_real_imaginary_add(expr)
#             println("result = $result")
        elseif SymPy.func(expr) == SymPy.func(sympyMultExpr)
#             println(expr)
#             println("multiplication!")
            result = separate_real_imaginary_mult(expr)
#             println("result = $result")
        else
#             println(expr)
#             println("single term!")
            result = separate_real_imaginary_others(expr)
#             println("result = $result")
        end
        result = expand(result)
        return real(result) + im*imag(result)
        
    else
        throw("Delta has more than one variable")
    end
end
Out[97]:
separate_real_imaginary (generic function with 1 method)

\begin{align*} \Delta(\lambda)=\lambda + 1 = x + iy + 1. \end{align*}

In [98]:
lambda = symbols("lambda")
delta = lambda + 1
separate_real_imaginary(delta)
Out[98]:
$$x + i y + 1$$

\begin{align*} \Delta(\lambda)=e^\lambda = e^{x+iy}=e^x e^{iy} = e^x\cos(y) + ie^x\sin(y)). \end{align*}

In [99]:
delta = e^(lambda)
separate_real_imaginary(delta)
Out[99]:
$$i e^{x} \sin{\left (y \right )} + e^{x} \cos{\left (y \right )}$$

\begin{align*} \Delta(\lambda) &= \lambda^2 = (x+iy)^2 = x^2-y^2 + i2xy. \end{align*}

In [100]:
delta = lambda^2
separate_real_imaginary(delta)
Out[100]:
$$x^{2} + 2 i x y - y^{2}$$

\begin{align*} \Delta(\lambda) &= \cos(\lambda)\\ &= \frac{1}{2}e^{i\lambda} + \frac{1}{2}e^{-i\lambda}\\ &= \frac{1}{2}e^{i(x+iy)} + \frac{1}{2}e^{-i(x+iy)} \\ &= \frac{1}{2}(e^{-y}e^{ix} + e^ye^{-ix})\\ &= \frac{1}{2}e^{-y}(\cos(x) + i\sin(x)) + \frac{1}{2}e^y(\cos(x) - i\sin(x))\\ &= \cos(x)\cosh(y) - i\sin(x)\sinh(y) \end{align*}

In [101]:
delta = cos(lambda)
separate_real_imaginary(delta)
Out[101]:
$$- i \sin{\left (x \right )} \sinh{\left (y \right )} + \cos{\left (x \right )} \cosh{\left (y \right )}$$

\begin{align*} \Delta(\lambda) &= \cos(\lambda)e^\lambda\\ &= \cos(x+iy)e^{x+iy}\\ &= \cos(x+iy)e^x e^{iy}\\ &= \left[\cos(x)\cosh(y) - i\sin(x)\sinh(y)\right]e^x(\cos(y) + i\sin(y))\\ &= e^x\cos(x)\cosh(y)\cos(y) + e^x\sin(x)\sinh(y)\sin(y) + i(e^x\cos(x)\cosh(y)\sin(y)-e^x\sin(x)\sinh(y)\cos(y)). \end{align*}

In [102]:
delta = cos(lambda)*e^(lambda)
separate_real_imaginary(delta)
Out[102]:
$$i \left(- e^{x} \sin{\left (x \right )} \cos{\left (y \right )} \sinh{\left (y \right )} + e^{x} \sin{\left (y \right )} \cos{\left (x \right )} \cosh{\left (y \right )}\right) + e^{x} \sin{\left (x \right )} \sin{\left (y \right )} \sinh{\left (y \right )} + e^{x} \cos{\left (x \right )} \cos{\left (y \right )} \cosh{\left (y \right )}$$

\begin{align*} \Delta(\lambda) &= (\lambda^3 + \lambda+2)e^\lambda \end{align*}

In [103]:
delta = (lambda^3+lambda+2)*e^(lambda)
separatedDelta = separate_real_imaginary(delta)
prettyPrint(separatedDelta)
# Verified with WolframAlpha
Out[103]:
$$x^{3} e^{x} \cos{\left (y \right )} - 3 x^{2} y e^{x} \sin{\left (y \right )} - 3 x y^{2} e^{x} \cos{\left (y \right )} + x e^{x} \cos{\left (y \right )} + y^{3} e^{x} \sin{\left (y \right )} - y e^{x} \sin{\left (y \right )} + i \left(x^{3} e^{x} \sin{\left (y \right )} + 3 x^{2} y e^{x} \cos{\left (y \right )} - 3 x y^{2} e^{x} \sin{\left (y \right )} + x e^{x} \sin{\left (y \right )} - y^{3} e^{x} \cos{\left (y \right )} + y e^{x} \cos{\left (y \right )} + 2 e^{x} \sin{\left (y \right )}\right) + 2 e^{x} \cos{\left (y \right )}$$

plot_levelCurves(bivariateDelta; realFunc, imagFunc, xRange, yRange, step, width, height)

Plots the level curves $\Re(\Delta(x+iy)) = 0$ and $\Im(\Delta(x+iy)) = 0$ in the $\Re-\Im$ plane.

In [104]:
function plot_levelCurves(bivariateDelta::SymPy.Sym; realFunc = real(bivariateDelta), imagFunc = imag(bivariateDelta), xRange = (-INFTY, INFTY), yRange = (-INFTY, INFTY), step = INFTY/1000, width = 1500, height = 1000)
    freeSymbols = free_symbols(bivariateDelta)
    x = symbols("x", real = true)
    y = symbols("y", real = true)
    
    xGridStep = (xRange[2] - xRange[1])/50
    yGridStep = (yRange[2] - yRange[1])/50
    
    if freeSymbols == [x, y]
        Plots.contour(xRange[1]:step:xRange[2], yRange[1]:step:yRange[2], realFunc, levels=[0], size = (width, height), tickfontsize = 20, seriescolor=:reds, transpose = false, linewidth = 4, linealpha = 1, xticks = xRange[1]:xGridStep:xRange[2], yticks = yRange[1]:yGridStep:yRange[2], grid = true, gridalpha = 0.5)
        Plots.contour!(xRange[1]:step:xRange[2], yRange[1]:step:yRange[2], imagFunc, levels=[0], size = (width, height), tickfontsize = 20, seriescolor=:blues, transpose = false, linewidth = 4, linealpha = 1, xticks = xRange[1]:xGridStep:xRange[2], yticks = yRange[1]:yGridStep:yRange[2], grid = true, gridalpha = 0.5)
    else
        Plots.contour(xRange[1]:step:xRange[2], yRange[1]:step:yRange[2], realFunc, levels=[0], size = (width, height), tickfontsize = 20, seriescolor=:reds, transpose = true, linewidth = 4, linealpha = 1, xticks = xRange[1]:xGridStep:xRange[2], yticks = yRange[1]:yGridStep:yRange[2], grid = true, gridalpha = 0.5)
        Plots.contour!(xRange[1]:step:xRange[2], yRange[1]:step:yRange[2], imagFunc, levels=[0], size = (width, height), tickfontsize = 20, seriescolor=:blues, transpose = true, linewidth = 4, linealpha = 1, xticks = xRange[1]:xGridStep:xRange[2], yticks = yRange[1]:yGridStep:yRange[2], grid = true, gridalpha = 0.5)
    end
end
Out[104]:
plot_levelCurves (generic function with 1 method)

Parameters

  • bivariateDelta: SymPy.Sym
    • Symbolic expression of $\Delta(\lambda)$ with $\lambda$ replaced by $x+iy$.
  • realFunc*, imagFunc*: SymPy.Sym or Function
    • Real and imaginary parts of $\Delta(\lambda)$. Default to real(separatedDelta) and imag(separatedDelta). If input manually, they need to be functions in two variables $x$, $y$ where $\lambda = x+iy$.
  • xRange*, yRange*: Tuple{Number, Number}
    • Ranges of $\Re(\Delta(\lambda))$ and $\Im(\Delta(\lambda))$ in the plot. Default to (-INFTY, INFTY).
  • step*: Number
    • The distance between two points that are plotted as projected onto the x and y axes, i.e., the step in the sequence of points in x and y to be plotted.
  • width*, height*: Number
    • Width and height of the plot.

Returns

  • plot_levelCurves: None
    • Plots the contour plots without returning them.

Example

In [105]:
lambda = symbols("lambda")
x = symbols("x", real = true)
y = symbols("y", real = true)
delta = lambda + 1
bivariateDelta = subs(delta, lambda, x+im*y)
# plot_levelCurves(separatedDelta) # somehow causes method error, probably because real(separatedDelta) is a function of x only and imag(separatedDelta) is a function of y only. In this case, we need to input the realFunc and imagFunc manually
plot_levelCurves(bivariateDelta; realFunc = (x, y) -> x + 1, imagFunc = (x, y) -> y)
WARNING: Keyword argument match_dimensions not supported with Plots.GRBackend().  Choose from: Set(Symbol[:top_margin, :group, :background_color, :yforeground_color_text, :yguidefontcolor, :seriesalpha, :legendfontcolor, :seriescolor, :ztick_direction, :zlims, :overwrite_figure, :xguidefonthalign, :normalize, :linestyle, :xflip, :fillcolor, :ygrid, :background_color_inside, :zguidefonthalign, :bins, :yscale, :xtickfontcolor, :xguide, :fillalpha, :tick_direction, :yguidefontsize, :legendfontfamily, :foreground_color, :xtickfonthalign, :x, :ytickfontrotation, :legend, :discrete_values, :ytick_direction, :xguidefontrotation, :ribbon, :tickfontrotation, :xdiscrete_values, :legendtitle, :xgridstyle, :orientation, :gridstyle, :markersize, :camera, :xforeground_color_grid, :quiver, :zticks, :markerstrokecolor, :ztickfontrotation, :ztickfonthalign, :legendfonthalign, :xtickfontsize, :levels, :zgridstyle, :foreground_color_border, :zguidefontvalign, :marker_z, :markerstrokealpha, :markeralpha, :tickfontvalign, :zguidefontcolor, :ygridlinewidth, :zlink, :zscale, :smooth, :xticks, :zguidefontsize, :y, :margin, :ytickfontcolor, :yforeground_color_border, :zguidefontfamily, :zgridalpha, :yguidefontvalign, :yguidefonthalign, :ztickfontcolor, :html_output_format, :tickfontcolor, :titlefontrotation, :legendfontvalign, :tickfontsize, :z, :yforeground_color_axis, :xtickfontrotation, :xerror, :contour_labels, :xguidefontcolor, :primary, :guidefonthalign, :aspect_ratio, :link, :yguide, :guidefontvalign, :yguidefontfamily, :layout, :polar, :right_margin, :xlink, :series_annotations, :inset_subplots, :ytickfontsize, :tickfontfamily, :xgrid, :ygridalpha, :xtick_direction, :colorbar, :zflip, :ticks, :legendfontrotation, :linealpha, :arrow, :xtickfontvalign, :zgrid, :bar_width, :zguide, :zforeground_color_text, :weights, :xgridalpha, :ygridstyle, :fill_z, :ztickfontfamily, :markershape, :background_color_subplot, :xguidefontvalign, :markerstrokewidth, :xguidefontfamily, :gridlinewidth, :foreground_color_subplot, :xgridlinewidth, :foreground_color_text, :titlefonthalign, :yerror, :zgridlinewidth, :grid, :xguidefontsize, :xforeground_color_axis, :background_color_outside, :titlefontcolor, :line_z, :size, :projection, :zguidefontrotation, :ydiscrete_values, :seriestype, :yflip, :fillrange, :ztickfontvalign, :xlims, :xforeground_color_border, :markercolor, :ylink, :yforeground_color_grid, :color_palette, :lims, :xscale, :left_margin, :annotations, :window_title, :foreground_color_axis, :yguidefontrotation, :guidefontsize, :zdiscrete_values, :tickfonthalign, :bottom_margin, :framestyle, :scale, :zforeground_color_border, :background_color_legend, :linecolor, :foreground_color_legend, :title, :subplot_index, :flip, :titlefontvalign, :foreground_color_grid, :linewidth, :ztickfontsize, :gridalpha, :guidefontfamily, :ylims, :xtickfontfamily, :ytickfontvalign, :ytickfontfamily, :xforeground_color_text, :show, :guidefontrotation, :legendfontsize, :subplot, :label, :ytickfonthalign, :guide, :guidefontcolor, :titlefontsize, :titlefontfamily, :zforeground_color_axis, :zforeground_color_grid, :yticks])
Out[105]:
-10.0 -9.6 -9.2 -8.8 -8.4 -8.0 -7.6 -7.2 -6.8 -6.4 -6.0 -5.6 -5.2 -4.8 -4.4 -4.0 -3.6 -3.2 -2.8 -2.4 -2.0 -1.6 -1.2 -0.8 -0.4 0.0 0.4 0.8 1.2 1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8 5.2 5.6 6.0 6.4 6.8 7.2 7.6 8.0 8.4 8.8 9.2 9.6 10.0 -10.0 -9.6 -9.2 -8.8 -8.4 -8.0 -7.6 -7.2 -6.8 -6.4 -6.0 -5.6 -5.2 -4.8 -4.4 -4.0 -3.6 -3.2 -2.8 -2.4 -2.0 -1.6 -1.2 -0.8 -0.4 0.0 0.4 0.8 1.2 1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8 5.2 5.6 6.0 6.4 6.8 7.2 7.6 8.0 8.4 8.8 9.2 9.6 10.0
In [106]:
delta = (lambda^3+lambda+2)*e^(lambda)
bivariateDelta = subs(delta, lambda, x+im*y)
plot_levelCurves(bivariateDelta)
Out[106]:
-10.0 -9.6 -9.2 -8.8 -8.4 -8.0 -7.6 -7.2 -6.8 -6.4 -6.0 -5.6 -5.2 -4.8 -4.4 -4.0 -3.6 -3.2 -2.8 -2.4 -2.0 -1.6 -1.2 -0.8 -0.4 0.0 0.4 0.8 1.2 1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8 5.2 5.6 6.0 6.4 6.8 7.2 7.6 8.0 8.4 8.8 9.2 9.6 10.0 -10.0 -9.6 -9.2 -8.8 -8.4 -8.0 -7.6 -7.2 -6.8 -6.4 -6.0 -5.6 -5.2 -4.8 -4.4 -4.0 -3.6 -3.2 -2.8 -2.4 -2.0 -1.6 -1.2 -0.8 -0.4 0.0 0.4 0.8 1.2 1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8 5.2 5.6 6.0 6.4 6.8 7.2 7.6 8.0 8.4 8.8 9.2 9.6 10.0

The Fokas Transform pair

Implement the transform pair (2.15a), (2.15b) on page 10 of "Evolution PDEs and augmented eigenfunctions. Finite interval," given by

\begin{alignat*}{2} F_\lambda: f(x)&\mapsto F(\lambda):\quad F_\lambda(f) &= \begin{cases} F_\lambda^+(f),&\quad\mbox{if $\lambda\in \Gamma_0^+\cup \Gamma_a^+$}\\ F_\lambda^-(f),&\quad\mbox{if $\lambda\in \Gamma_0^-\cup \Gamma_a^-$}\\ \end{cases}\\ f_x: F(\lambda)&\mapsto f(x):\quad f_x(F) &= \int_\Gamma e^{i\lambda x}F(\lambda)\,d\lambda,\quad x\in [0,1]. \end{alignat*}

check_boundaryConditions(L, U, fSym)

Checks whether $f$ satisfies the boundary conditions, i.e., whether $f\in\Phi$.

In [107]:
function check_boundaryConditions(L::LinearDifferentialOperator, U::VectorBoundaryForm, fSym::Union{SymPy.Sym, Number})
    # Checks whether f satisfies the homogeneous boundary conditions
    Ux = get_Ux(L, U, fSym)
    return check_all(Ux, x->is_approx(x, 0))
end
Out[107]:
check_boundaryConditions (generic function with 1 method)

Parameters

  • L: LinearDifferentialOperator
    • Linear differential operator in the IBVP.
  • U: VectorBoundaryForm
    • Vector boundary form in the IBVP.
  • fSym: SymPy.Sym or Number
    • Symbolic expression of the initial condition in the IBVP.

Returns

  • check_boundaryConditions: Bool
    • Returns true if $f$ satisfies the homogeneous boundary conditions within a tolerance (TOL) and false otherwise.

Example

In [108]:
t = symbols("t")
symPFunctions = [-1 0 0]
interval = (0,1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)
M = [1 0; 0 1]
N = [-1 0; 0 -1]
U = VectorBoundaryForm(M, N)
x = symbols("x")
fSym = sin(2*pi*x)
check_boundaryConditions(L, U, fSym)
Out[108]:
true

get_MPlusMinus(adjointU; symbolic, generic)

Let $\alpha=e^{2\pi i/n}$; given adjoint vector boundary form associated with two matrices $b^\star$, $\beta^\star$, computes matrices $M^+(\lambda)$, $M^-(\lambda)$ given by \begin{align*} M^+_{kj}(\lambda) &= \sum_{r=0}^{n-1}(-i\alpha^{k-1}\lambda)^rb^\star_{jr}\\ M^-_{kj}(\lambda) &= \sum_{r=0}^{n-1}(-i\alpha^{k-1}\lambda)^r\beta^\star_{jr} \end{align*} as functions of $\lambda$ (for fixed $b^\star$, $\beta^\star$) or their symbolic expressions.

In [109]:
function get_MPlusMinus(adjointU::VectorBoundaryForm; symbolic = false, generic = false)
    # these are numeric matrices
    bStar, betaStar = adjointU.M, adjointU.N
    n = size(bStar)[1]
    if symbolic
        # return MPlus and MMinus as symbolic expressions with (the global variable) lambda as free variable
        lambda = symbols("lambda")
        if generic
            alpha = symbols("alpha")
        else
            alpha = e^(2*PI*im/n)
        end
        MPlusMat = Array{SymPy.Sym}(n,n)
        for k = 1:n
            for j = 1:n
                sumPlus = 0
                for r = 0:(n-1)
                    summandPlus = (-im*alpha^(k-1)*lambda)^r * bStar[j,r+1]
                    sumPlus += summandPlus
                end
                sumPlus = simplify(sumPlus)
                MPlusMat[k,j] = sumPlus
            end
        end
        MPlusSym = MPlusMat
        MMinusMat = Array{SymPy.Sym}(n,n)
        for k = 1:n
            for j = 1:n
                sumMinus = 0
                for r = 0:(n-1)
                    summandMinus = (-im*alpha^(k-1)*lambda)^r * betaStar[j,r+1]
                    sumMinus += summandMinus
                end
                sumMinus = simplify(sumMinus)
                MMinusMat[k,j] = sumMinus
            end
        end
        MMinusSym = MMinusMat
        return (MPlusSym, MMinusSym)
    else
        alpha = e^(2*pi*im/n)
        # if not symbolic, return MPlus and MMinus as functions of lambda
        function MPlus(lambda::Number)
            MPlusMat = Array{Number}(n,n)
            for k = 1:n
                for j = 1:n
                    sumPlus = 0
                    for r = 0:(n-1)
                        summandPlus = (-im*alpha^(k-1)*lambda)^r * bStar[j,r+1]
                        sumPlus += summandPlus
                    end
                    MPlusMat[k,j] = sumPlus
                end
            end
            return MPlusMat
        end
        function MMinus(lambda::Number)
            MMinusMat = Array{Number}(n,n)
            for k = 1:n
                for j = 1:n
                    sumMinus = 0
                    for r = 0:(n-1)
                        summandMinus = (-im*alpha^(k-1)*lambda)^r * betaStar[j,r+1]
                        sumMinus += summandMinus
                    end
                    MMinusMat[k,j] = sumMinus
                end
            end
            return MMinusMat
        end
    end
    return (MPlus, MMinus)
end
Out[109]:
get_MPlusMinus (generic function with 1 method)

Parameters

  • adjointU: VectorBoundaryForm
    • Output of get_adjointU().
  • symbolic*: Bool
    • Boolean indicating whether the output is symbolic.
  • generic*: Bool
    • If symbolic = true, boolean indicating whether to keep $\alpha=e^{2\pi i/n}$ as a symbol.

Returns

  • get_MPlusMinus: Function or SymPy.Sym
    • Returns $M^+(\lambda)$, $M^-(\lambda)$ as functions if symbolic = false and as symbolic expressions if symbolic = true.

Example

In [110]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)
M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)
adjointU = get_adjointU(L, U)
Out[110]:
VectorBoundaryForm(Complex[-1.0-0.0im 0.0-0.0im; 0.0-0.0im 0.0-0.0im], Complex[0.0-0.0im 0.0-0.0im; 2.0-0.0im -1.0-0.0im])
In [111]:
(MPlusSym, MMinusSym) = get_MPlusMinus(adjointU; symbolic = true, generic = false)
prettyPrint.(MMinusSym)
Out[111]:
\begin{bmatrix}0&i \lambda + 2\\0&- i \lambda + 2\end{bmatrix}
In [112]:
(MPlus, MMinus) = get_MPlusMinus(adjointU; symbolic = false)
lambda = 1+im
println("MPlus($lambda) = $(MPlus(lambda))")
println("MMinus($lambda) = $(MMinus(lambda))")
println("MPlusSym($lambda) = $(prettyPrint.(evaluate.(MPlusSym, lambda)))")
println("MMinusSym($lambda) = $(prettyPrint.(evaluate.(MMinusSym, lambda)))")
MPlus(1 + 1im) = Number[-1.0-0.0im 0.0+0.0im; -1.0+0.0im 0.0+0.0im]
MMinus(1 + 1im) = Number[0.0+0.0im 1.0+1.0im; 0.0+0.0im 3.0-1.0im]
MPlusSym(1 + 1im) = SymPy.Sym[-1 0; -1 0]
MMinusSym(1 + 1im) = SymPy.Sym[0 1 + I; 0 3 - I]

get_M(adjointU; symbolic, generic)

Computes $M$ given by $$M_{kj}(\lambda) = M^+_{kj}(\lambda) + M^-_{kj}(\lambda)e^{-i\alpha^{k-1}\lambda}$$ as a function of $\lambda$ or its symbolic expression.

In [113]:
function get_M(adjointU::VectorBoundaryForm; symbolic = false, generic = false)
    bStar, betaStar = adjointU.M, adjointU.N
    n = size(bStar)[1]
    if symbolic
        # return M as a symbolic expression with lambda as free variable
        lambda = symbols("lambda")
        if generic
            alpha = symbols("alpha")
        else
            alpha = e^(2*PI*im/n)
        end
        (MPlusSym, MMinusSym) = get_MPlusMinus(adjointU; symbolic = true, generic = generic)
        MLambdaSym = Array{SymPy.Sym}(n,n)
        for k = 1:n
            for j = 1:n
                MLambdaSym[k,j] = simplify(MPlusSym[k,j] + MMinusSym[k,j] * e^(-im*alpha^(k-1)*lambda))
            end
        end
        MSym = simplify.(MLambdaSym)
        return MSym
    else
        alpha = e^(2*pi*im/n)
        function M(lambda::Number)
            (MPlus, MMinus) = get_MPlusMinus(adjointU)
            MPlusLambda, MMinusLambda = MPlus(lambda), MMinus(lambda)
            MLambda = Array{Number}(n,n)
            for k = 1:n
                for j = 1:n
                    MLambda[k,j] = MPlusLambda[k,j] + MMinusLambda[k,j] * e^(-im*alpha^(k-1)*lambda)
                end
            end
            return MLambda
        end
        return M 
    end
end
Out[113]:
get_M (generic function with 1 method)

Parameters

  • adjointU: VectorBoundaryForm
    • Output of get_adjointU().
  • symbolic*: Bool
    • Boolean indicating whether the output is symbolic.
  • generic*: Bool
    • If symbolic = true, boolean indicating whether to keep $\alpha=e^{2\pi i/n}$ as a symbol.

Returns

  • get_M: Function or SymPy.Sym
    • Returns $M(\lambda)$ as function if symbolic = false and as symbolic expression if symbolic = true.

Example

In [114]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)

M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)

adjointU = get_adjointU(L, U)
Out[114]:
VectorBoundaryForm(Complex[-1.0-0.0im 0.0-0.0im; 0.0-0.0im 0.0-0.0im], Complex[0.0-0.0im 0.0-0.0im; 2.0-0.0im -1.0-0.0im])
In [115]:
MSym = get_M(adjointU; symbolic = true, generic = false)
prettyPrint.(MSym)
Out[115]:
\begin{bmatrix}-1&\left(i \lambda + 2\right) e^{- i \lambda}\\-1&\left(- i \lambda + 2\right) e^{i \lambda}\end{bmatrix}
In [116]:
M = get_M(adjointU; symbolic = false)
lambda = 1+im
println("M($lambda) = $(M(lambda))")
println("MSym($lambda) = $(evaluate.(sym_to_func.(MSym), lambda))")
M(1 + 1im) = Number[-1.0+0.0im 3.75605-0.818661im; -1.0+0.0im 0.905858+0.729914im]
MSym(1 + 1im) = Number[-1.0 3.75605-0.818661im; -1.0 0.905858+0.729914im]

get_delta(adjointU; symbolic, generic)

Computes $\Delta := \det(M)$ as a function of $\lambda$ (for fixed adjointU) or its symbolic expression.

In [117]:
function get_delta(adjointU::VectorBoundaryForm; symbolic = false, generic = false)
    if symbolic
        MSym = get_M(adjointU; symbolic = true, generic = generic)
        deltaSym = simplify(SymPy.det(MSym))
        return deltaSym
    else
       function delta(lambda::Number)
            M = get_M(adjointU; symbolic = false)
            MLambda = convert(Array{Complex}, M(lambda))
            return det(MLambda)
        end
        return delta 
    end
end
Out[117]:
get_delta (generic function with 1 method)

Parameters

  • adjointU: VectorBoundaryForm
    • Output of get_adjointU().
  • symbolic*: Bool
    • Boolean indicating whether the output is symbolic.
  • generic*: Bool
    • If symbolic = true, boolean indicating whether to keep $\alpha=e^{2\pi i/n}$ as a symbol.

Returns

  • get_delta: Function or SymPy.Sym
    • Returns $\Delta(\lambda)$ as function if symbolic = false and as symbolic expression if symbolic = true.

Example

In [118]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)

M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)

adjointU = get_adjointU(L, U)
Out[118]:
VectorBoundaryForm(Complex[-1.0-0.0im 0.0-0.0im; 0.0-0.0im 0.0-0.0im], Complex[0.0-0.0im 0.0-0.0im; 2.0-0.0im -1.0-0.0im])
In [119]:
deltaSym = simplify(get_delta(adjointU; symbolic = true, generic = false))
prettyPrint(deltaSym)
Out[119]:
$$\left(i \lambda + \left(i \lambda - 2\right) e^{2 i \lambda} + 2\right) e^{- i \lambda}$$
In [120]:
delta = get_delta(adjointU; symbolic = false)
lambda = 1+im
println("delta($lambda) = $(delta(lambda))")
println("deltaSym($lambda) = $(evaluate(deltaSym, lambda))")
delta(1 + 1im) = 2.8501910204023764 - 1.548574863875881im
deltaSym(1 + 1im) = 2.8501910204023764 - 1.548574863875881im

get_Xlj(adjointU, l, j; symbolic, generic)

Gets $X_{lj}$, which is the $(n-1)\times (n-1)$ submatrix of $M(\lambda)$ whose $11$-entry is the $(l+1)(j+1)$-entry of $M(\lambda)$, as a function of $\lambda$ (for fixed adjointU, $M$, $l$, $j$), or its symbolic expression.

In [121]:
function get_Xlj(adjointU::VectorBoundaryForm, l::Number, j::Number; symbolic = false, generic = false)
    bStar, betaStar = adjointU.M, adjointU.N
    n = size(bStar)[1]
    if symbolic
        MSym = get_M(adjointU; symbolic = true, generic = generic)
        MBlockSym = [MSym MSym; MSym MSym]
        XljSym = MBlockSym[(l+1):(l+1+n-2), (j+1):(j+1+n-2)]
        return XljSym
    else
        M = get_M(adjointU; symbolic = false)
        function Xlj(lambda::Number)
            MLambda = M(lambda)
            MLambdaBlock = [MLambda MLambda; MLambda MLambda]
            XljLambda = MLambdaBlock[(l+1):(l+1+n-2), (j+1):(j+1+n-2)]
            return XljLambda
        end
        return Xlj 
    end
end
Out[121]:
get_Xlj (generic function with 1 method)

Parameters

  • adjointU: VectorBoundaryForm
    • Output of get_adjointU().
  • l, j: Int
    • Indices specifying the submatrix of $M$ that is $X_{lj}$.
  • symbolic*: Bool
    • Boolean indicating whether the output is symbolic.
  • generic*: Bool
    • If symbolic = true, boolean indicating whether to keep $\alpha=e^{2\pi i/n}$ as a symbol.

Returns

  • get_Xlj: Array of Function or SymPy.Sym
    • Returns $X_{lj}(\lambda)$ as a matrix of functions if symbolic = false and as symbolic expressions if symbolic = true.

Example

In [122]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)

M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)

adjointU = get_adjointU(L, U)
Out[122]:
VectorBoundaryForm(Complex[-1.0-0.0im 0.0-0.0im; 0.0-0.0im 0.0-0.0im], Complex[0.0-0.0im 0.0-0.0im; 2.0-0.0im -1.0-0.0im])
In [123]:
l, j = 1, 1
XljSym = prettyPrint.(get_Xlj(adjointU, l, j; symbolic = true))
Out[123]:
\begin{bmatrix}\left(- i \lambda + 2\right) e^{i \lambda}\end{bmatrix}
In [124]:
Xlj = get_Xlj(adjointU, l, j; symbolic = false)
lambda = 1+im
println("Xlj($lambda) = $(Xlj(lambda))")
println("XljSym($lambda) = $(evaluate.(XljSym, lambda))")
Xlj(1 + 1im) = Number[0.905858+0.729914im]
XljSym(1 + 1im) = Complex{Float64}[0.905858+0.729914im]

get_ChebyshevIntegral(l, f; symbolic, lambda, alpha)

Computes $$\int_0^1 e^{-i\alpha^{l-1}\lambda x}f(x)\,dx$$ by approximating $f(x)$ using Chebyshev polynomials and obtaining an explicit expression for the integral.

get_ChebyshevTermIntegral(n; symbolic, c)

Computes $\tilde{T}_n(c)$ given by \begin{alignat*}{2} \tilde{T}_n(c) = \int_0^\pi e^{-ic\cos\theta}\cos(n\theta)\sin\theta\,d\theta &= \begin{cases} 2 &\quad\mbox{if $n=0$}\\ 0 &\quad\mbox{if $n=1$}\\ \frac{(-1)^{n+1}-1}{n^2-1} &\quad\mbox{if $n\geq 2$} \end{cases}, &\quad\mbox{if $c=0$}\\ &= \sum_{m=1}^{n+1}\alpha(m,n)\left[\frac{e^{i\lambda}}{(i\lambda)^m} + (-1)^{m+n}\frac{e^{-i\lambda}}{(i\lambda)^m}\right]&\quad\mbox{if $c\neq 0$}, \end{alignat*} where \begin{align*} \alpha(m,n) = \begin{cases} (-1)^n&\quad\mbox{if $m=1$}\\ (-1)^{n+1}n^2&\quad\mbox{if $m=2$}\\ (-1)^{n+m-1}2^{m-2}n\sum_{k=1}^{n-m+2}\binom{m+k-3}{k-1}\prod_{j=k}^{m+k-3}(n-j)&\quad\mbox{else} \end{cases} \end{align*} or its symbolic expression.

get_alpha(m, n)

Computes $\alpha(m,n)$.

In [125]:
function get_alpha(m::Int, n::Int)
    if m == 1
        result = (-1)^n
    elseif m == 2
        result = (-1)^(n+1)*n^2
    else
        sum = 0
        for k = 1:(n-m+2)
            product = 1
            for j = k:(m+k-3)
                product *= (n-j)
            end
            sum += binomial(m+k-3, k-1) * product
        end
        result = (-1)^(n+m-1)*2^(m-2)*n*sum
    end
    return result
end
Out[125]:
get_alpha (generic function with 1 method)

Parameters

  • m, n: Int
    • Indices in $\alpha(m,n)$.

Returns

  • get_alpha: Number
    • Returns the value of $\alpha(m,n)$.

Example

In [126]:
n = 3
println("alpha(1,$n) = $(get_alpha(1, n))")
println("alpha(2,$n) = $(get_alpha(2, n))")
println("alpha(3,$n) = $(get_alpha(3, n))")
alpha(1,3) = -1
alpha(2,3) = 9
alpha(3,3) = -24
In [127]:
function get_ChebyshevTermIntegral(n::Int; symbolic = true, c = symbols("c"))
    if symbolic
        if c == 0
            if n == 0
                expr = 2
            elseif n == 1
                expr = 0
            else
                expr = ((-1)^(n+1)-1)/(n^2-1)
            end
        else
            expr = 0
            for m = 1:(n+1)
                summand = get_alpha(m, n) * (e^(im*c)/(im*c)^m  + (-1)^(m+n)*e^(-im*c)/(im*c)^m)
                expr += summand
            end
        end
        expr = simplify(expr)
        return expr
    else
        function TTilde(c)
            if c == 0
                if n == 0
                    result = 2
                elseif n == 1
                    result = 0
                else
                    result = ((-1)^(n+1)-1)/(n^2-1)
                end
            else
                result = 0
                for i = 1:(n+1)
                    summand = get_alpha(i, n) * (e^(im*c)/(im*c)^i  + (-1)^(i+n)*e^(-im*c)/(im*c)^i)
                    result += summand
                end
            end
            return result
        end
        return TTilde
    end
end
Out[127]:
get_ChebyshevTermIntegral (generic function with 1 method)

Parameters

  • n: Int
    • $n$ in $\tilde{T}_n$.
  • symbolic*: Bool
    • Boolean indicating whether the output is symbolic.
  • c*: SymPy.Sym
    • If symbolic = true, argument of $\tilde{T}_n$. Default to symbols("c").

Returns

  • get_ChebyshevTermintegral: Function or SymPy.Sym
    • Returns $\tilde{T}_n(c)$ as function of $c$ if symbolic = false and as symbolic expression if symbolic = true.

Example

In [128]:
# alpha = e^(2pi*im/1)
# lambda = symbols("lambda")
# c = alpha^(l-1)*lambda/2
chebTermIntSym = get_ChebyshevTermIntegral(2; symbolic = true)
prettyPrint(chebTermIntSym)
Out[128]:
$$\frac{\left(- i c^{2} e^{2 i c} + i c^{2} + 4 c e^{2 i c} + 4 c + 4 i e^{2 i c} - 4 i\right) e^{- i c}}{c^{3}}$$
In [129]:
chebTermInt = get_ChebyshevTermIntegral(2; symbolic = false)
alpha = e^(2pi*im/1)
lambda = 1+im
l = 2
c = alpha^(l-1)*lambda/2
println("chebTermInt($(prettyPrint(c))) = $(chebTermInt(c))")
println("chebTermIntSym($(prettyPrint(c))) = $(evaluate(chebTermIntSym, c))")
chebTermInt(0.5 + 0.5*I) = -0.6684521617501114 - 0.033305777098087574im
chebTermIntSym(0.5 + 0.5*I) = -0.6684521617501128 - 0.033305777098085666im

get_ChebyshevCoefficients(f)

Obtains the coefficients in the Chebyshev approximation of $f$ on $[0,1]$.

Note that the coefficients are obtained by shifting the interval $[0,1]$ to $[-1,1]$ and then back. That is, define $g:[0,1]\to [-1,1]$ by $g(x) = 2x-1$. For $t\in [-1,1]$, define $q(t)=f\circ g^{-1}(t) = f(\frac{t+1}{2}) =: f(x)$ for $x\in [0,1]$. Then the returned coefficients are $\{b_0,\ldots, b_N\}$ in $$f(x) = f\circ g^{-1}(g(x)) = q(g(x)) = q(t) = \sum_{n=0}^N b_n T_n(t) = \sum_{n=0}^N b_n T_n(g(x)) = \sum_{n=0}^N b_n T_n(2x-1)$$ instead of $\{a_0,\ldots, a_N\}$ in $$f(x) = \sum_{n=0}^N a_n T_n(x).$$

In [130]:
function get_ChebyshevCoefficients(f::Union{Function,Number})
    fCheb = ApproxFun.Fun(f, 0..1) # Approximate f on [0,1] using chebyshev polynomials
    chebCoefficients = ApproxFun.coefficients(fCheb) # get coefficients of the Chebyshev polynomial
    return chebCoefficients
end
Out[130]:
get_ChebyshevCoefficients (generic function with 1 method)

Parameters

  • f: Function or Number
    • Function whose Chebyshev coefficients are to be returned.

Returns

  • get_ChebyshevCoefficients: Array of Number
    • Returns $\{b_0,\ldots, b_N\}$.

Example

In [131]:
f(x) = x^2+1
fChebCoeffs = get_ChebyshevCoefficients(f)
Out[131]:
3-element Array{Float64,1}:
 1.375
 0.5  
 0.125

get_ChebyshevIntegral(l, f; symbolic, lambda, alpha)

Computes $$\int_0^1 e^{-i\alpha^{l-1}\lambda x}f(x)\,dx$$ by computing \begin{align*} \frac{1}{2e^{ic}}\int_{-1}^1 e^{-ict} q(t)\,dt = \int_0^1 e^{-i\alpha^{l-1}\lambda x}f(x)\,dx \end{align*} where $c=\frac{\alpha^{l-1}\lambda}{2}$, $q(t) := f\circ g^{-1}(t)$, and \begin{align*} \int_{-1}^1 e^{-ic t}q(t)\,dt &= \int_{-1}^1 e^{-ic t} \sum_{n=0}^N b_n T_n(t)\,dt\\ &= \sum_{n=0}^N b_n \int_{-1}^1 e^{-ic t} T_n(t)\,dt\\ &= \sum_{n=0}^N b_n \int_{-1}^1 e^{-ic t} \cos(n\cdot\cos^{-1}(t))\,dt\\ &= \sum_{n=0}^N b_n \tilde{T}_n(c). \end{align*}

In [132]:
function get_ChebyshevIntegral(l::Number, f::Union{Function, Number}; symbolic = false, lambda = nothing, alpha = nothing)
    fChebCoeffs = get_ChebyshevCoefficients(f)
    # Replace coefficients too close to 0 by 0
    # fChebCoeffs = [if is_approx(x, 0) 0 else x end for x in fChebCoeffs]
    if symbolic
        lambda = symbols("lambda")
        c = alpha^(l-1)*lambda/2
        integralSym = 0
        for m = 1:length(fChebCoeffs)
            fChebCoeff = fChebCoeffs[m]
            if is_approx(fChebCoeff, 0)
                continue
            else
            integralSym += fChebCoeffs[m] * get_ChebyshevTermIntegral(m-1; symbolic = true, c = c)
            end
        end
        integralSym = integralSym/(2*e^(im*c))
        integralSym = simplify(integralSym)
        return integralSym
    else
        if isa(lambda, Void) || isa(alpha, Void)
            throw("lambda, alpha required")
        else
            c = alpha^(l-1)*lambda/2
            integral = 0
            for m = 1:length(fChebCoeffs)
                fChebCoeff = fChebCoeffs[m]
                if is_approx(fChebCoeff, 0)
                    continue
                else
                    integral += fChebCoeff * get_ChebyshevTermIntegral(m-1; symbolic = false)(c)
                end
            end
            integral = integral/(2*e^(im*c))
            return integral
        end
    end
end
Out[132]:
get_ChebyshevIntegral (generic function with 1 method)

Parameters

  • l: Int
    • $l$ in the integral.
  • f: Function or Number
    • $f(x)$ in the integral.
  • symbolic* : Bool
    • Boolean indicating whether the output is symbolic.
  • lambda*: SymPy.Sym or Number
    • $\lambda$ in the integral. Symbolic if symbolic = true and numeric if symbolic = false. Default to symbols("lambda").
  • alpha*: SymPy.Sym or Number
    • $\alpha$ in the integral. Default to symbols("alpha").

Returns

  • get_ChebyshevIntegral : Function or SymPy.Sym
    • Returns the integral as a symbolic expression if symbolic = true and as a function of $\lambda$ if symbolic = false.

Example

In [133]:
alpha = e^(2pi*im/1)
l = 2
# f(x) = x^2+1
f(x) = sin(2*pi*x)
Out[133]:
f (generic function with 1 method)
In [134]:
chebIntSym = simplify(get_ChebyshevIntegral(l, f; symbolic = true, alpha = alpha))
prettyPrint(chebIntSym)
Out[134]:
$$- \frac{0.5 \left(12.564 \lambda^{8} e^{i \lambda} - 12.564 \lambda^{8} - 0.219 i \lambda^{7} e^{i \lambda} - 0.219 i \lambda^{7} + 506.239 \lambda^{6} e^{i \lambda} - 506.239 \lambda^{6} + 318.277 i \lambda^{5} e^{i \lambda} + 318.277 i \lambda^{5} + 12372.486 \lambda^{4} e^{i \lambda} - 12372.486 \lambda^{4} - 120132.078 i \lambda^{3} e^{i \lambda} - 120132.078 i \lambda^{3} + 2222127.374 \lambda^{2} e^{i \lambda} - 2222127.374 \lambda^{2} + 11891179.312 i \lambda e^{i \lambda} + 11891179.312 i \lambda - 23782358.623 e^{i \lambda} + 23782358.623\right) e^{- i \lambda}}{\lambda^{10}}$$
In [135]:
lambda = 1+im
chebInt = get_ChebyshevIntegral(l, f; symbolic = false, lambda = lambda, alpha = alpha)

# Directly compute the integral
g(x) = e^(-im*alpha^(l-1)*lambda*x)
directInt = quadgk(mult_func(g,f), 0, 1)[1]

println("chebIntegral($lambda) = $chebInt")
println("chebIntegralSym($lambda) = $(evaluate.(chebIntSym, lambda))")
println("directIntegral = $directInt")
chebIntegral(1 + 1im) = -0.09279945603348573 + 0.3593425680615589im
chebIntegralSym(1 + 1im) = -0.09279945602468914 + 0.3593425680538266im
directIntegral = -0.09279946736487799 + 0.3593426246245006im

get_FPlusMinus(adjointU; symbolic, generic)

Gets $F^+_\lambda$, $F^-_\lambda$ given by \begin{align*} F^+_\lambda(f) &= \frac{1}{2\pi \Delta(\lambda)} \sum_{l=1}^n\sum_{j=1}(-1)^{(n-1)(l+j)}\det X^{lj}(\lambda)M^+_{1j}(\lambda)\int_0^1 e^{-i\alpha^{l-1}\lambda x}f(x)\,dx,\\ F^-_\lambda(f) &= \frac{-e^{-i\lambda}}{2\pi \Delta(\lambda)} \sum_{l=1}^n\sum_{j=1}(-1)^{(n-1)(l+j)}\det X^{lj}(\lambda)M^-_{1j}(\lambda)\int_0^1 e^{-i\alpha^{l-1}\lambda x}f(x)\,dx. \end{align*} as functions of $f$ or their symbolic expressions.

In [136]:
function get_FPlusMinus(adjointU::VectorBoundaryForm; symbolic = false, generic = false)
    bStar, betaStar = adjointU.M, adjointU.N
    n = size(bStar)[1]
    if symbolic
        lambda = symbols("lambda")
        (MPlusSym, MMinusSym) = get_MPlusMinus(adjointU; symbolic = true, generic = generic)
        deltaSym = get_delta(adjointU; symbolic = true, generic = generic)
        if generic
            alpha = symbols("alpha")
            c = symbols("c")
            FT = SymFunction("FT[f]")(c)
            sumPlusSymGeneric = 0
            sumMinusSymGeneric = 0
            for l = 1:n
                summandPlusSymGeneric = 0
                summandMinusSymGeneric = 0
                for j = 1:n
                    XljSym = get_Xlj(adjointU, l, j; symbolic = true, generic = true)
                    integralSymGeneric = subs(FT, c, alpha^(l-1)*lambda)
                    summandPlusSymGeneric += (-1)^((n-1)*(l+j)) * SymPy.det(XljSym) * MPlusSym[1,j] * integralSymGeneric
                    summandMinusSymGeneric += (-1)^((n-1)*(l+j)) * SymPy.det(XljSym) * MMinusSym[1,j] * integralSymGeneric
                end
                sumPlusSymGeneric += summandPlusSymGeneric
                sumMinusSymGeneric += summandMinusSymGeneric
            end
            FPlusSymGeneric = simplify(1/(2*PI*deltaSym)*sumPlusSymGeneric)
            FMinusSymGeneric = simplify((-e^(-im*lambda))/(2*PI*deltaSym)*sumMinusSymGeneric)
            return (FPlusSymGeneric, FMinusSymGeneric)
        else
            alpha = e^(2*PI*im/n)
            function FPlusSym(f::Union{Function, Number})
                sumPlusSym = 0
                for l = 1:n
                    summandPlusSym = 0
                    for j = 1:n
                        XljSym = get_Xlj(adjointU, l, j; symbolic = true)
                        integralSym = get_ChebyshevIntegral(l, f; symbolic = true, lambda = lambda, alpha = alpha)
                        summandPlusSym += (-1)^((n-1)*(l+j)) * SymPy.det(XljSym) * MPlusSym[1,j] * integralSym
                    end
                    sumPlusSym += summandPlusSym
                end
                return simplify(1/(2*PI*deltaSym)*sumPlusSym)
            end
            function FMinusSym(f::Union{Function, Number})
                sumMinusSym = 0
                for l = 1:n
                    summandMinusSym = 0
                    for j = 1:n
                        XljSym = get_Xlj(adjointU, l, j; symbolic = true)
                        c = alpha^(l-1)*lambda/2
                        integralSym = get_ChebyshevIntegral(l, f; symbolic = true, lambda = lambda, alpha = alpha)
                        summandMinusSym += (-1)^((n-1)*(l+j)) * SymPy.det(XljSym) * MMinusSym[1,j] * integralSym
                    end
                    sumMinusSym += summandMinusSym
                end
                return simplify((-e^(-im*lambda))/(2*PI*deltaSym)*sumMinusSym)
            end
            return (FPlusSym, FMinusSym)
            end
    else
        alpha = e^(2pi*im/n)
        (MPlus, MMinus) = get_MPlusMinus(adjointU; symbolic = false)
        function FPlus(lambda::Number, f::Union{Function, Number})
            MPlusLambda, MMinusLambda = MPlus(lambda), MMinus(lambda)
            M = get_M(adjointU; symbolic = false)
            MLambda = convert(Array{Complex}, M(lambda))
            deltaLambda = det(MLambda) # or deltaLambda = (get_delta(adjointU))(lambda)
            sumPlus = 0
            for l = 1:n
                summandPlus = 0
                for j = 1:n
                    Xlj = get_Xlj(adjointU, l, j; symbolic = false)
                    XljLambda = convert(Array{Complex}, Xlj(lambda))
                    integral = get_ChebyshevIntegral(l, f; symbolic = false, lambda = lambda, alpha = alpha)
                    summandPlus += (-1)^((n-1)*(l+j)) * det(XljLambda) * MPlusLambda[1,j] * integral
                end
                sumPlus += summandPlus
            end
            return 1/(2pi*deltaLambda)*sumPlus
        end
        function FMinus(lambda::Number, f::Union{Function, Number})
            MPlusLambda, MMinusLambda = MPlus(lambda), MMinus(lambda)
            M = get_M(adjointU; symbolic = false)
            MLambda = convert(Array{Complex}, M(lambda))
            deltaLambda = det(MLambda) # or deltaLambda = (get_delta(adjointU))(lambda)
            sumMinus = 0
            for l = 1:n
                summandMinus = 0
                for j = 1:n
                    Xlj = get_Xlj(adjointU, l, j)
                    XljLambda = convert(Array{Complex}, Xlj(lambda))
                    integral = get_ChebyshevIntegral(l, f; symbolic = false, lambda = lambda, alpha = alpha)
                    summandMinus += (-1)^((n-1)*(l+j)) * det(XljLambda) * MMinusLambda[1,j] * integral
                end
                sumMinus += summandMinus
            end
            return (-e^(-im*lambda))/(2pi*deltaLambda)*sumMinus
        end
        return (FPlus, FMinus)
    end
end
Out[136]:
get_FPlusMinus (generic function with 1 method)

Parameters

  • adjointU: VectorBoundaryForm
    • Adjoint vector boundary form associated with the matrices $b^\star$ and $\beta^\star$ in the definition of $M(\lambda)$.
  • symbolic*: Bool
    • Boolean indicating whether the output is symbolic.
  • generic*: Bool
    • If symbolic = true, boolean indicating whether $f$ and $\alpha=e^{2\pi i/n}$ are kept as generic symbols.

Returns

  • get_FPlusMinusLambda: Tuple of Function or SymPy.Sym
    • Returns $F_\lambda^+$, $F_\lambda^-$ as symbolic expressions of $\lambda$ if symbolic = true (where $\text{FT}[f]$ indicates the Fourier transform integral of $f$, $\int_0^1 e^{-i\alpha^{l-1}\lambda x}f(x)\,dx$) and as functions in $\lambda$ and $f$ if symbolic = false.

Example

In [137]:
t = symbols("t")
symPFunctions = [1 t+1 t^2+t+1]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)

M = [1 0; 2 0]
N = [0 2; 0 1]
U = VectorBoundaryForm(M, N)

adjointU = get_adjointU(L, U)
Out[137]:
VectorBoundaryForm(Complex[-1.0-0.0im 0.0-0.0im; 0.0-0.0im 0.0-0.0im], Complex[0.0-0.0im 0.0-0.0im; 2.0-0.0im -1.0-0.0im])
In [138]:
# generic f
(FPlusSymGeneric, FMinusSymGeneric) = get_FPlusMinus(adjointU; symbolic = true, generic = true)
prettyPrint(FPlusSymGeneric)
Out[138]:
$$\frac{0.5 \left(\left(i \lambda + 2\right) \operatorname{FT[f]}{\left (\alpha \lambda \right )} e^{i \alpha \lambda} - \left(i \alpha \lambda + 2\right) \operatorname{FT[f]}{\left (\lambda \right )} e^{i \lambda}\right)}{\pi \left(\left(i \lambda + 2\right) e^{i \alpha \lambda} - \left(i \alpha \lambda + 2\right) e^{i \lambda}\right)}$$
In [139]:
f(x) = x^2-1

# Keep lambda as a free symbol
(FPlusSym, FMinusSym) = get_FPlusMinus(adjointU; symbolic = true)
prettyPrint(FPlusSym(f))
Out[139]:
$$\frac{- 0.625 i \lambda^{3} e^{\frac{3 i \lambda}{2}} \sin{\left (\frac{\lambda}{2} \right )} - 0.625 i \lambda^{3} e^{\frac{i \lambda}{2}} \sin{\left (\frac{\lambda}{2} \right )} - 0.188 \lambda^{3} e^{2 i \lambda} + 0.188 \lambda^{3} + 1.25 \lambda^{2} e^{\frac{3 i \lambda}{2}} \sin{\left (\frac{\lambda}{2} \right )} - 1.25 \lambda^{2} e^{\frac{i \lambda}{2}} \sin{\left (\frac{\lambda}{2} \right )} - 0.375 i \lambda^{2} e^{2 i \lambda} + 0.75 i \lambda^{2} e^{i \lambda} - 0.375 i \lambda^{2} - \lambda e^{2 i \lambda} + \lambda - 2 i e^{2 i \lambda} + 4 i e^{i \lambda} - 2 i}{\pi \lambda^{3} \left(i \lambda e^{2 i \lambda} + i \lambda - 2 e^{2 i \lambda} + 2\right)}$$
In [140]:
lambda = 1+im
(FPlus, FMinus) = get_FPlusMinus(adjointU; symbolic = false)
println("FPlus($lambda, f) = $(FPlus(lambda, f))")
println("FMinus($lambda, f) = $(FMinus(lambda, f))")
println("FPlusSym($lambda, f) = $(evaluate.(FPlusSym(f), lambda))")
println("FMinusSym($lambda, f) = $(evaluate.(FMinusSym(f), lambda))")
FPlus(1 + 1im, f) = -0.030615744795935648 - 0.011678556508991562im
FMinus(1 + 1im, f) = 0.1091262126064784 - 0.07682555657657669im
FPlusSym(1 + 1im, f) = -0.030615744795935648 - 0.011678556508991567im
FMinusSym(1 + 1im, f) = 0.10912621260647842 - 0.07682555657657673im
In [141]:
t = symbols("t")
symPFunctions = [1 0 0 0]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)

M = [1 0 0; 0 0 0; 0 -1/2 0]
N = [0 0 0; 1 0 0; 0 1 0]
U = VectorBoundaryForm(M, N)

adjointU = get_adjointU(L, U)
Out[141]:
VectorBoundaryForm(Complex[0.0-0.0im 1.0-0.0im 0.0-0.0im; -1.0-0.0im 0.0-0.0im 0.0-0.0im; 0.0-0.0im 0.0-0.0im 0.0-0.0im], Complex[0.0-0.0im -0.5-0.0im 0.0-0.0im; 0.0-0.0im 0.0-0.0im 0.0-0.0im; 1.0-0.0im 0.0-0.0im 0.0-0.0im])
In [142]:
delta = get_delta(adjointU; symbolic = true, generic = true)
prettyPrint(simplify(delta))
# (FPlusSymGeneric, FMinusSymGeneric) = get_FPlusMinus(adjointU; symbolic = true, generic = true)
# prettyPrint(simplify(FPlusSymGeneric))
Out[142]:
$$- i \lambda \left(0.5 \alpha^{2} e^{i \lambda} - 0.5 \alpha^{2} e^{i \alpha \lambda} - \alpha^{2} e^{i \lambda \left(\alpha^{2} + 1\right)} + \alpha^{2} e^{i \alpha \lambda \left(\alpha + 1\right)} - 0.5 \alpha e^{i \lambda} + 0.5 \alpha e^{i \alpha^{2} \lambda} + \alpha e^{i \lambda \left(\alpha + 1\right)} - \alpha e^{i \alpha \lambda \left(\alpha + 1\right)} + 0.5 e^{i \alpha \lambda} - 0.5 e^{i \alpha^{2} \lambda} - e^{i \lambda \left(\alpha + 1\right)} + e^{i \lambda \left(\alpha^{2} + 1\right)}\right) e^{- i \lambda \left(\alpha^{2} + \alpha + 1\right)}$$

get_gamma(a, n, zeroList; infty, nGon)

Computes the contour $\Gamma$ given by \begin{align*} \Gamma &:= \Gamma_0\cup \Gamma_a, \end{align*} where \begin{align*} \Gamma_a^{\pm} &:= \partial(\{\lambda\in\mathbb{C}^{\pm}:\, \Re(a\lambda^n)>0\}\setminus \bigcup_{\substack{\sigma\in\mathbb{C};\\\Delta(\sigma)=0}} D(\sigma, 2\epsilon))\quad\mbox{($D$ for disk)},\\ \Gamma_a &:= \Gamma_a^+\cup \Gamma_a^-,\\ \Gamma_0^+ &:= \bigcup_{\substack{\sigma\in\overline{\mathbb{C}^+};\\ \Delta(\sigma)=0}} C(\sigma, \epsilon)\quad\mbox{($C$ for circle)},\\ \Gamma_0^- &:= \bigcup_{\substack{\sigma\in\mathbb{C}^-;\\ \Delta(\sigma)=0}} C(\sigma, \epsilon),\\ \Gamma_0 &:= \Gamma_0^+\cup \Gamma_0^-. \end{align*}

get_gammaAAngles(a, n; symbolic)

Finds the angles (in $[-2\pi, 2\pi)$) representing the lines through the origin that mark the beginning and end of the sectors encircled by $\Gamma_a$, boundary of the domain $\{\lambda\in \mathbb{C}: \Re(a\lambda^n)>0\}$.

Note that we choose the interval $[-2\pi, 2\pi)$ to ensure that "z is in a sector" if and only if "angle(z) is greater than or equal to the start of the sector and smaller than or equal to the end of the sector.

In [143]:
function get_gammaAAngles(a::Number, n::Int; symbolic = false)
    # thetaA = argument(a)
    thetaA = angle(a)
    if symbolic
        thetaStartList = Array{SymPy.Sym}(n) # List of angles that characterize where domain sectors start
        thetaEndList = Array{SymPy.Sym}(n) # List of angles that characterize where domain sectors end
        k = symbols("k")
        counter = 0
        while (2pi*counter + pi/2 - thetaA)/n < 2pi
        # Substituting counter for k
        # while SymPy.N(subs((2PI*k + PI/2 - thetaA)/n, k, counter)) < 2pi
            thetaStart = (2*PI*counter - PI/2 - rationalize(thetaA/pi)*PI)/n
            thetaEnd = (2*PI*counter + PI/2 - rationalize(thetaA/pi)*PI)/n
            counter += 1
            thetaStartList[counter] = thetaStart
            thetaEndList[counter] = thetaEnd
        end
    else
        thetaStartList = Array{Number}(n)
        thetaEndList = Array{Number}(n)
        k = 0
        while (2pi*k + pi/2 - thetaA)/n < 2pi
            thetaStart = (2pi*k - pi/2 - thetaA)/n
            thetaEnd = (2pi*k + pi/2 - thetaA)/n
            k += 1
            thetaStartList[k] = thetaStart
            thetaEndList[k] = thetaEnd
        end
    end
    return (thetaStartList, thetaEndList)
end
Out[143]:
get_gammaAAngles (generic function with 1 method)

Parameters

  • a: Number
    • $a$ in $\Gamma_a$, given along with $S$, $f$, and $B$ as parameters of get_input().
  • n: Int
    • $n$ in the definition of $\Gamma_a^{\pm}$.
  • symbolic*: Bool
    • Boolean indicating whether the output is symbolic.

Returns

  • get_gammaAAngles: Tuple{Array, Array}
    • Returns a tuple containing an array of angles in $[-2\pi, 2\pi)$ that characterize the starts of the sectors and an array of angles that characterize the ends of the sectors.

Example

In [144]:
n = 2
a = 1
gammaAAnglesSym = get_gammaAAngles(a, n; symbolic = true)
println("n=$n, a=$a, gammaAAnglesSym = $gammaAAnglesSym")

gammaAAngles = get_gammaAAngles(a, n; symbolic = false)
println("n=$n, a=$a, gammaAAngles = $gammaAAngles")

n = 3
a = im
gammaAAnglesSym = get_gammaAAngles(a, n; symbolic = true)
println("n=$n, a=$a, gammaAAnglesSym = $gammaAAnglesSym")

n = 3
a = -im
gammaAAnglesSym = get_gammaAAngles(a, n; symbolic = true)
println("n=$n, a=$a, gammaAAnglesSym = $gammaAAnglesSym")
n=2, a=1, gammaAAnglesSym = (SymPy.Sym[-pi/4, 3*pi/4], SymPy.Sym[pi/4, 5*pi/4])
n=2, a=1, gammaAAngles = (Number[-0.785398, 2.35619], Number[0.785398, 3.92699])
n=3, a=im, gammaAAnglesSym = (SymPy.Sym[-pi/3, pi/3, pi], SymPy.Sym[0, 2*pi/3, 4*pi/3])
n=3, a=0 - 1im, gammaAAnglesSym = (SymPy.Sym[0, 2*pi/3, 4*pi/3], SymPy.Sym[pi/3, pi, 5*pi/3])

get_gammaAAnglesSplit(a, n; symbolic)

On top of the sectors characterized by the array of start angles and the array of end angles obtained via get_gammaAAngles(), splits the sectors that contain the real line.

In [145]:
function get_gammaAAnglesSplit(a::Number, n::Int; symbolic = false)
    (thetaStartList, thetaEndList) = get_gammaAAngles(a, n; symbolic = symbolic)
    # Split sectors that contain the positive half of the real line (angle = 0)
    zeroIndex = find(i -> ((is_approxLess(thetaStartList[i], 0) && is_approxLess(0, thetaEndList[i]))), 1:length(thetaStartList))
    if !isempty(zeroIndex)
        index = zeroIndex[1]
        # Insert 0 after thetaStart
        splice!(thetaStartList, (index+1):index, 0)
        # Insert 0 before thetaEnd
        splice!(thetaEndList, index:(index-1), 0)
    end
    # Split sectors that contain the negative half of the real line (angle = pi)
    piIndex = find(i -> ((is_approxLess(thetaStartList[i], pi) && is_approxLess(pi, thetaEndList[i]))), 1:length(thetaStartList))
    if !isempty(piIndex)
        index = piIndex[1]
        if symbolic
            # Insert pi after thetaStart
            splice!(thetaStartList, (index+1):index, pi)
            # Insert pi before thetaEnd
            splice!(thetaEndList, index:(index-1), pi)
        else
            # Use pi*1 instead of pi to avoid "<= not defined for Irrational{:pi}" error in get_gamma()
            splice!(thetaStartList, (index+1):index, pi*1)
            splice!(thetaEndList, index:(index-1), pi*1)
        end
    end
    return (thetaStartList, thetaEndList)
end
Out[145]:
get_gammaAAnglesSplit (generic function with 1 method)

Parameters

  • a: Number
    • $a$ in $\Gamma_a$, given along with $S$, $f$, and $B$ as parameters of get_input().
  • n: Int
    • $n$ in the definition of $\Gamma_a^{\pm}$.
  • symbolic*: Bool
    • Boolean indicating whether the output is symbolic.

Returns

  • get_gammaAAnglesSplit: Tuple{Array, Array}
    • Returns a tuple containing an array of angles in $[-2\pi, 2\pi)$ that characterize the starts of the sectors and an array of angles that characterize the ends of the sectors. Compared to the output of get_gammaAAngles(), the arrays of angles reflect the fact that sectors containing the real line are splitted into upper half and lower half.

Example

In [146]:
n = 2
a = 1
gammaAAnglesSplitSym = get_gammaAAnglesSplit(a, n; symbolic = true)
println("n=$n, a=$a, gammaAAnglesSplitSym = $gammaAAnglesSplitSym")
gammaAAnglesSplit = get_gammaAAnglesSplit(a, n; symbolic = false)
println("n=$n, a=$a, gammaAAnglesSplit = $gammaAAnglesSplit")

n = 3
a = im
gammaAAnglesSplitSym = get_gammaAAnglesSplit(a, n; symbolic = true)
println("n=$n, a=$a, gammaAAnglesSplitSym = $gammaAAnglesSplitSym")
gammaAAnglesSplit = get_gammaAAnglesSplit(a, n; symbolic = false)
println("n=$n, a=$a, gammaAAnglesSplit = $gammaAAnglesSplit")
n=2, a=1, gammaAAnglesSplitSym = (SymPy.Sym[-pi/4, 0, 3*pi/4, pi], SymPy.Sym[0, pi/4, pi, 5*pi/4])
n=2, a=1, gammaAAnglesSplit = (Number[-0.785398, 0, 2.35619, 3.14159], Number[0, 0.785398, 3.14159, 3.92699])
n=3, a=im, gammaAAnglesSplitSym = (SymPy.Sym[-pi/3, pi/3, pi], SymPy.Sym[0, 2*pi/3, 4*pi/3])
n=3, a=im, gammaAAnglesSplit = (Number[-1.0472, 1.0472, 3.14159], Number[0.0, 2.0944, 4.18879])

pointOnSector(z, sectorAngles)

Determines whether a point $z$ is on the boundary of a sector characterized by a start angle and an end angle.

In [147]:
function pointOnSector(z::Number, sectorAngles::Tuple{Number, Number})
    (startAngle, endAngle) = sectorAngles
    return is_approx(argument(z), startAngle) || is_approx(argument(z), endAngle) || is_approx(angle(z), startAngle) || is_approx(angle(z), endAngle)
end
Out[147]:
pointOnSector (generic function with 1 method)

Parameters

  • z: Number
    • Point in the complex plane.
  • sectorAngles: Tuple{Number, Number}
    • Pair of start and end angles characterizing a sector.

Returns

  • pointOnSector: Bool
    • Returns true if z is on the boundary of the sector given by sectorAngles and false otherwise.

Example

In [148]:
z = 1+im
sectorAngles = (-pi/4, pi/4)
pointOnSector(z, sectorAngles)
Out[148]:
true

pointInSector(z, sectorAngles)

Determines whether a point $z$ is in the interior of a sector characterized by a start angle and an end angle.

In [149]:
function pointInSector(z::Number, sectorAngles::Tuple{Number, Number})
    (startAngle, endAngle) = sectorAngles
    # First check if z is on the sector boundary
    if pointOnSector(z, sectorAngles)
        return false
    else
        # angle(z) would work if it's in the sector with positive real parts and both positive and negative imaginary parts; argument(z) would work if it's in the sector with negative real parts and both positive and negative imaginary parts
        return (angle(z) > startAngle && angle(z) < endAngle) || (argument(z) > startAngle && argument(z) < endAngle) # no need to use is_approxLess because the case of approximatedly equal is already checked in pointOnSector
    end
end
Out[149]:
pointInSector (generic function with 1 method)

Parameters

  • z: Number
    • Point in the complex plane.
  • sectorAngles: Tuple{Number, Number}
    • Pair of start and end angles characterizing a sector.

Returns

  • pointInSector: Bool
    • Returns true if z is interior to the sector given by sectorAngles and false otherwise.

Example

In [150]:
z = 1+im
sectorAngles = (-pi/4, pi/4)
println("pointInSector($z, $sectorAngles) = $(pointInSector(z, sectorAngles))")

z = 1
println("pointInSector($z, $sectorAngles) = $(pointInSector(z, sectorAngles))")

z = -1
println("pointInSector($z, $sectorAngles) = $(pointInSector(z, sectorAngles))")
pointInSector(1 + 1im, (-0.7853981633974483, 0.7853981633974483)) = false
pointInSector(1, (-0.7853981633974483, 0.7853981633974483)) = true
pointInSector(-1, (-0.7853981633974483, 0.7853981633974483)) = false

pointExSector(z, sectorAngles)

Determines whether a point $z$ is in the exterior of a sector characterized by a start angle and an end angle.

In [151]:
function pointExSector(z::Number, sectorAngles::Tuple{Number, Number})
    return !pointOnSector(z, sectorAngles) && !pointInSector(z, sectorAngles)
end
Out[151]:
pointExSector (generic function with 1 method)

Parameters

  • z: Number
    • Point in the complex plane.
  • sectorAngles: Tuple{Number, Number}
    • Pair of start and end angles characterizing a sector.

Returns

  • pointExSector: Bool
    • Returns true if z is exterior to the sector given by sectorAngles and false otherwise.

Example

In [152]:
z = 1+im
sectorAngles = (-pi/4, pi/4)
println("pointExSector($z, $sectorAngles) = $(pointExSector(z, sectorAngles))")

z = 1
println("pointExSector($z, $sectorAngles) = $(pointExSector(z, sectorAngles))")

z = -1
println("pointExSector($z, $sectorAngles) = $(pointExSector(z, sectorAngles))")
pointExSector(1 + 1im, (-0.7853981633974483, 0.7853981633974483)) = false
pointExSector(1, (-0.7853981633974483, 0.7853981633974483)) = false
pointExSector(-1, (-0.7853981633974483, 0.7853981633974483)) = true

get_epsilon(zeroList, a, n)

Given a list of zeroes of $\Delta(\lambda)$, using the arrays of angles that characterize the starts and ends of sectors, computes an appropriate value for the radius $\epsilon$ of the circle to be drawn around each zero of $\Delta(\lambda)$ in the contours $\Gamma_0^{\pm}$. This is the minimum of pairwise distances between zeroes that are not interior to any sector (since interior zeroes would not matter in any way) and the distances from any of these zeroes to any line that mark the boundary of some sector.

In [153]:
function get_epsilon(zeroList::Array, a::Number, n::Int)
    (thetaStartList, thetaEndList) = get_gammaAAnglesSplit(a, n; symbolic = false)
    thetaStartEndList = collect(Iterators.flatten([thetaStartList, thetaEndList]))
    truncZeroList = []
    for zero in zeroList
        # If zero is interior to any sector, discard it
        if any(i -> pointInSector(zero, (thetaStartList[i], thetaEndList[i])), 1:n)
        else # If not, append it to truncZeroList
            append!(truncZeroList, zero)
        end
    end
    # List of distance between each zero and each line marking the boundary of some sector
    pointLineDistances = [get_distancePointLine(z, theta) for z in zeroList for theta in thetaStartEndList]
    if length(truncZeroList)>1
        # List of distance between every two zeroes
        pairwiseDistances = [norm(z1-z2) for z1 in zeroList for z2 in truncZeroList]
    else
        pairwiseDistances = []
    end
    distances = collect(Iterators.flatten([pairwiseDistances, pointLineDistances]))
    # Distances of nearly 0 could be instances where the zero is actually on some sector boundary
    distances = filter(x -> !is_approx(x, 0), distances)
    epsilon = minimum(distances)/5
    return epsilon
end
Out[153]:
get_epsilon (generic function with 1 method)

Parameters

  • zeroList: Array of Number
    • List of zeroes of $\Delta(\lambda)$. Found by human input with the aid of plot_levelCurves().
  • a: Number
    • $a$ in $\Gamma_a$, given along with $S$, $f$, and $B$ as parameters of get_input().
  • n: Int
    • $n$ in the definition of $\Gamma_a^{\pm}$.

Returns

  • get_epsilon: Number
    • Returns one-third the minimum of the distances between any two exterior zeroes of $\Delta(\lambda)$ and the distances between any exterior zero to any line marking the boundary of some sector.

Example

In [154]:
n = 2
a = 1
zeroList = [1+sqrt(3)*im, 2+2*sqrt(3)*im, 0+0*im, 0+5*im, 0-5*im]
get_epsilon(zeroList, a, n)
Out[154]:
0.10352761804100832

get_nGonAroundZero(zero, epsilon, n)

Given a zero of $\Delta(\lambda)$, returns an array of $n$ complex numbers representing the vertices of an $n$-gon around the zero in the complex plane; each vertex is of distance $\epsilon$ from the zero.

In [155]:
function get_nGonAroundZero(zero::Number, epsilon::Number, n::Int)
    z = zero
    theta = argument(zero)
    deltaAngle = 2pi/n
    vertices = []
    for i = 1:n
        newAngle = pi-deltaAngle*(i-1)
        vertex = z + epsilon*e^(im*(theta+newAngle))
        append!(vertices, vertex)
    end
    # vertices = vcat(vertices, vertices[1])
    return vertices
end
Out[155]:
get_nGonAroundZero (generic function with 1 method)

Parameters

  • zero: Number
    • A root of $\Delta(\lambda)$.
  • epsilon: Number
    • Output of get_epsilon(). Distance between each vertex of the $n$-gon from zero.
  • n: Int
    • $n$ in $n$-gon.

Returns

  • get_nGonAroundZero: Array of Number
    • Returns an array of $n$ points that are the vertices of the $n$-gon in the complex plane.

Example

In [156]:
zero = im
epsilon = 1
n = 4
prettyPrint.(get_nGonAroundZero(zero, epsilon, n))
Out[156]:
\begin{bmatrix}0\\-1 + i\\2 i\\1 + i\end{bmatrix}

get_gamma(a, n, zeroList; infty, nGon)

Finds the contours $\Gamma_a^+$, $\Gamma_a^-$, $\Gamma_0^+$, $\Gamma_0^-$ as arrays of points ordered in the order they will be integrated over.

In [157]:
function get_gamma(a::Number, n::Int, zeroList::Array; infty = INFTY, nGon = 8)
    (thetaStartList, thetaEndList) = get_gammaAAnglesSplit(a, n; symbolic = false)
    nSplit = length(thetaStartList)
    gammaAPlus, gammaAMinus, gamma0Plus, gamma0Minus = [], [], [], []
    epsilon = get_epsilon(zeroList, a, n)
    for i in 1:nSplit
        thetaStart = thetaStartList[i]
        thetaEnd = thetaEndList[i]
        # Initialize the boundary of each sector with the ending boundary, the origin, and the starting boundary (start and end boundaries refer to the order in which the boundaries are passed if tracked counterclockwise)
        initialPath = [infty*e^(im*thetaEnd), 0+0*im, infty*e^(im*thetaStart)]
        initialPath = convert(Array{Complex{Float64}}, initialPath)
        if thetaStart >= 0 && thetaStart <= pi && thetaEnd >= 0 && thetaEnd <= pi # if in the upper half plane, push the boundary path to gamma_a+
            push!(gammaAPlus, initialPath) # list of lists
        else # if in the lower half plane, push the boundary path to gamma_a-
            push!(gammaAMinus, initialPath)
        end
    end
    # Sort the zeroList by norm, so that possible zero at the origin comes last. We need to leave the origin in the initial path unchanged until we have finished dealing with all non-origin zeros because we use the origin in the initial path as a reference point to decide where to insert the deformed path
    zeroList = sort(zeroList, lt=(x,y)->!isless(norm(x), norm(y)))
    for zero in zeroList
        # println(zero)
        # If zero is not at the origin
        if !is_approx(zero, 0+0*im)
            # Draw an n-gon around it
            vertices = get_nGonAroundZero(zero, epsilon, nGon)
            # If zero is on the boundary of some sector
            if any(i -> pointOnSector(zero, (thetaStartList[i], thetaEndList[i])), 1:nSplit)
                # Find which sector(s) zero is on
                indices = find(i -> pointOnSector(zero, (thetaStartList[i], thetaEndList[i])), 1:nSplit)
                # If zero is on the boundary of one sector
                if length(indices) == 1
                    # if vertices[2] is interior to any sector, include vertices on the other half of the n-gon in the contour approximation
                    z0 = vertices[2]
                    if any(i -> pointInSector(z0, (thetaStartList[i], thetaEndList[i])), 1:nSplit)
                        # Find which sector vertices[2] is in
                        index = find(i -> pointInSector(z0, (thetaStartList[i], thetaEndList[i])), 1:nSplit)[1]
                    else # if vertices[2] is exterior, include vertices on this half of the n-gon in the contour approximation
                        # Find which sector vertices[length(vertices)] is in
                        z1 = vertices[length(vertices)]
                        index = find(i -> pointInSector(z1, (thetaStartList[i], thetaEndList[i])), 1:nSplit)[1]
                    end
                    thetaStart = thetaStartList[index]
                    thetaEnd = thetaEndList[index]
                    # Find all vertices exterior to or on the boundary of this sector, which would form the nGonPath around the zero
                    nGonPath = vertices[find(vertex -> !pointInSector(vertex, (thetaStart, thetaEnd)), vertices)]
                    # If this sector is in the upper half plane, deform gamma_a+
                    if thetaStart >= 0 && thetaStart <= pi && thetaEnd >= 0 && thetaEnd <= pi
                        gammaAPlusIndex = find(path -> (is_approx(argument(zero), argument(path[1])) || is_approx(argument(zero), argument(path[length(path)]))), gammaAPlus)[1]
                        deformedPath = copy(gammaAPlus[gammaAPlusIndex])
                        if any(i -> is_approx(argument(zero), thetaStartList[i]) || is_approx(angle(zero), thetaStartList[i]), 1:nSplit) # if zero is on the starting boundary, insert the n-gon path after 0+0*im
                            splice!(deformedPath, length(deformedPath):(length(deformedPath)-1), nGonPath)
                        else # if zero is on the ending boundary, insert the n-gon path before 0+0*im
                            splice!(deformedPath, 2:1, nGonPath)
                        end
                        deformedPath = convert(Array{Complex{Float64}}, deformedPath)
                        gammaAPlus[gammaAPlusIndex] = deformedPath
                    else # if sector is in the lower half plane, deform gamma_a-
                        # # Find all vertices interior to or on the boundary of this sector, which would form the nGonPath around the zero
                        # nGonPath = vertices[find(vertex -> !pointExSector(vertex, (thetaStart, thetaEnd)), vertices)]
                        gammaAMinusIndex = find(path -> (is_approx(argument(zero), argument(path[1])) || is_approx(argument(zero), argument(path[length(path)]))), gammaAMinus)[1]
                        deformedPath = copy(gammaAMinus[gammaAMinusIndex])
                        if any(i -> is_approx(argument(zero), thetaStartList[i]) || is_approx(angle(zero), thetaStartList[i]), 1:nSplit) # if zero is on the starting boundary, insert the n-gon path after 0+0*im
                            splice!(deformedPath, length(deformedPath):(length(deformedPath)-1), nGonPath)
                        else # if zero is on the ending boundary, insert the n-gon path before 0+0*im
                            splice!(deformedPath, 2:1, nGonPath) 
                        end
                        deformedPath = convert(Array{Complex{Float64}}, deformedPath)
                        gammaAMinus[gammaAMinusIndex] = deformedPath
                    end
                else # If zero is on the boundary of two sectors, then it must be on the real line, and we need to deform two sectors
                    # Find out which vertices are in the lower half plane
                    nGonPath = vertices[find(vertex -> !pointInSector(vertex, (0, pi)), vertices)]
                    for index in indices
                        thetaStart = thetaStartList[index]
                        thetaEnd = thetaEndList[index]
                        # If this is the sector in the upper half plane, deform gamma_a+
                        if thetaStart >= 0 && thetaStart <= pi && thetaEnd >= 0 && thetaEnd <= pi
                            gammaAPlusIndex = find(path -> (is_approx(argument(zero), argument(path[1])) || is_approx(argument(zero), argument(path[length(path)]))), gammaAPlus)[1]
                            deformedPath = copy(gammaAPlus[gammaAPlusIndex])
                            if is_approx(argument(zero), argument(deformedPath[length(deformedPath)])) # if zero is on the starting boundary, insert the n-gon path after 0+0*im
                                splice!(deformedPath, length(deformedPath):(length(deformedPath)-1), nGonPath)
                            else # if zero is on the ending boundary, insert the n-gon path before 0+0*im
                                splice!(deformedPath, 2:1, nGonPath)
                            end
                            deformedPath = convert(Array{Complex{Float64}}, deformedPath)
                            gammaAPlus[gammaAPlusIndex] = deformedPath
                        else # If this is the sector in the lower half plane, deform gamma_a-
                            gammaAMinusIndex = find(path -> (is_approx(argument(zero), argument(path[1])) || is_approx(argument(zero), argument(path[length(path)]))), gammaAMinus)[1]
                            deformedPath = copy(gammaAMinus[gammaAMinusIndex])
                            if is_approx(argument(zero), argument(deformedPath[length(deformedPath)])) # if zero is on the starting boundary, insert the n-gon path after 0+0*im
                                splice!(deformedPath, length(deformedPath):(length(deformedPath)-1), nGonPath)
                            else # if zero is on the ending boundary, insert the n-gon path before 0+0*im
                                splice!(deformedPath, 2:1, nGonPath)
                            end
                            deformedPath = convert(Array{Complex{Float64}}, deformedPath)
                            gammaAMinus[gammaAMinusIndex] = deformedPath
                        end
                    end
                end
                # Sort each sector's path in the order in which they are integrated over
                gammaAs = [gammaAPlus, gammaAMinus]
                for j = 1:length(gammaAs)
                    gammaA = gammaAs[j]
                    for k = 1:length(gammaA)
                        inOutPath = gammaA[k]
                        originIndex = find(x->x==0+0*im, inOutPath)[1]
                        inwardPath = inOutPath[1:(originIndex-1)]
                        outwardPath = inOutPath[(originIndex+1):length(inOutPath)]
                        # Sort the inward path and outward path
                        if length(inwardPath) > 0
                            inwardPath = sort(inwardPath, lt=(x,y)->!isless(norm(x), norm(y)))
                        end
                        if length(outwardPath) > 0
                            outwardPath = sort(outwardPath, lt=(x,y)->isless(norm(x), norm(y)))
                        end
                        inOutPath = vcat(inwardPath, 0+0*im, outwardPath)
                        inOutPath = convert(Array{Complex{Float64}}, inOutPath)
                        gammaA[k] = inOutPath
                    end
                    gammaAs[j] = gammaA 
                end
                gammaAPlus, gammaAMinus = gammaAs[1], gammaAs[2]
            # If zero is interior to any sector (after splitting by real line), ignore it
            # If zero is exterior to the sectors, avoid it
            elseif all(i -> pointExSector(zero, (thetaStartList[i], thetaEndList[i])), 1:nSplit)
                nGonPath = vcat(vertices, vertices[1]) # counterclockwise
                nGonPath = convert(Array{Complex{Float64}}, nGonPath)
                # If zero is in the upper half plane, add the n-gon path to gamma_0+
                if argument(zero) >= 0 && argument(zero) <= pi
                    push!(gamma0Plus, nGonPath)
                else # If zero is in the lower half plane, add the n-gon path to gamma_0-
                    push!(gamma0Minus, nGonPath)
                end
            end
        else # If zero is at the origin, we deform all sectors and draw an n-gon around the origin
            # deform each sector in gamma_a+
            for i = 1:length(gammaAPlus)
                deformedPath = gammaAPlus[i]
                # find the index of the zero at origin in the sector boundary path
                index = find(j -> is_approx(deformedPath[j], 0+0*im), 1:length(deformedPath))
                # If the origin is not in the path, then it has already been bypassed
                if isempty(index)
                else # If not, find its index
                    index = index[1]
                end
                # create a path around zero (origin); the origin will not be the first or the last point in any sector boundary because it was initialized to be in the middle, and only insertions are performed. Moreover, the boundary path has already been sorted into the order in which they will be integrated over, so squarePath defined below has deformedPath[index-1], deformedPath[index+1] in the correct order.
                squarePath = [epsilon*e^(im*argument(deformedPath[index-1])), epsilon*e^(im*argument(deformedPath[index+1]))]
                # replace the zero with the deformed path
                deleteat!(deformedPath, index) # delete the origin
                splice!(deformedPath, index:(index-1), squarePath) # insert squarePath into where the origin was at
                deformedPath = convert(Array{Complex{Float64}}, deformedPath)
                gammaAPlus[i] = deformedPath
            end
            # deform each sector in gamma_a-
            for i = 1:length(gammaAMinus)
                deformedPath = gammaAMinus[i]
                index = find(j -> is_approx(deformedPath[j], 0+0*im), 1:length(deformedPath))
                if isempty(index)
                else
                    index = index[1]
                end
                squarePath = [epsilon*e^(im*argument(deformedPath[index-1])), epsilon*e^(im*argument(deformedPath[index+1]))]
                deleteat!(deformedPath, index)
                splice!(deformedPath, index:(index-1), squarePath)
                deformedPath = convert(Array{Complex{Float64}}, deformedPath)
                gammaAMinus[i] = deformedPath
            end
            # Draw an n-gon around the origin and add to gamma_0+
            vertices = get_nGonAroundZero(zero, epsilon/2, nGon)
            nGonPath = vcat(vertices, vertices[1])
            nGonPath = convert(Array{Complex{Float64}}, nGonPath)
            push!(gamma0Plus, nGonPath)
        end
    end
    return (gammaAPlus, gammaAMinus, gamma0Plus, gamma0Minus)
end
Out[157]:
get_gamma (generic function with 1 method)

Parameters

  • a: Number
    • $a$ in $\Gamma_a$, given along with $S$, $f$, and $B$ as parameters of get_input().
  • n: Int
    • $n$ in the definition of $\Gamma_a^{\pm}$.
  • zeroList: Array of Number
    • List of zeroes of $\Delta(\lambda)$. Found by human input with the aid of plot_levelCurves().
  • infty*: Number
    • Range of search when finding points in $\Gamma$. Default to the global variables INFTY.
  • nGon*: Int
    • $n$ in $n$-gon.

Returns

  • get_gamma: Tuple{Array, Array, Array, Array}
    • Returns the contours $\Gamma_a^+$, $\Gamma_a^-$, $\Gamma_0^+$, and $\Gamma_0^-$ as arrays of numbers in the complex plane. Note that each of these contour is an array of arrays, reflecting the fact that it is a union of individual paths.

Example

In [158]:
n = 2
a = 1
zeroList = [3+3*sqrt(3)*im, 2+2*sqrt(3)*im, 0+0*im, 0+5*im, 0-5*im]
(gammaAPlus, gammaAMinus, gamma0Plus, gamma0Minus) = get_gamma(a, n, zeroList)

println("gammaAPlus = $gammaAPlus")
println("gammaAMinus = $gammaAMinus")
println("gamma0Plus = $gamma0Plus")
println("gamma0Minus = $gamma0Minus")
gammaAPlus = Any[Complex{Float64}[7.07107+7.07107im, 0.14641+0.14641im, 0.207055+0.0im, 10.0+0.0im], Complex{Float64}[-10.0+1.22465e-15im, -0.207055+2.5357e-17im, -0.14641+0.14641im, -7.07107+7.07107im]]
gammaAMinus = Any[Complex{Float64}[10.0+0.0im, 0.207055+0.0im, 0.14641-0.14641im, 7.07107-7.07107im], Complex{Float64}[-7.07107-7.07107im, -0.14641-0.14641im, -0.207055+2.5357e-17im, -10.0+1.22465e-15im]]
gamma0Plus = Any[Complex{Float64}[2.89647+5.01684im, 2.8+5.14256im, 2.82068+5.29968im, 2.94641+5.39615im, 3.10353+5.37547im, 3.2+5.24974im, 3.17932+5.09262im, 3.05359+4.99615im, 2.89647+5.01684im], Complex{Float64}[-3.80354e-17+4.79294im, -0.14641+4.85359im, -0.207055+5.0im, -0.14641+5.14641im, 1.26785e-17+5.20706im, 0.14641+5.14641im, 0.207055+5.0im, 0.14641+4.85359im, -3.80354e-17+4.79294im], Complex{Float64}[1.89647+3.28479im, 1.8+3.41051im, 1.82068+3.56763im, 1.94641+3.6641im, 2.10353+3.64342im, 2.2+3.51769im, 2.17932+3.36057im, 2.05359+3.2641im, 1.89647+3.28479im], Complex{Float64}[-0.103528+1.26785e-17im, -0.0732051+0.0732051im, 6.33924e-18+0.103528im, 0.0732051+0.0732051im, 0.103528+0.0im, 0.0732051-0.0732051im, 6.33924e-18-0.103528im, -0.0732051-0.0732051im, -0.103528+1.26785e-17im]]
gamma0Minus = Any[Complex{Float64}[6.33924e-17-4.79294im, 0.14641-4.85359im, 0.207055-5.0im, 0.14641-5.14641im, -3.80354e-17-5.20706im, -0.14641-5.14641im, -0.207055-5.0im, -0.14641-4.85359im, 6.33924e-17-4.79294im]]

plot_contour(gamma; infty)

Visualize the contours $\Gamma_a^+$, $\Gamma_a^-$, $\Gamma_0^+$, $\Gamma_0^-$.

In [159]:
function plot_contour(gamma::Array; infty = INFTY)
    sectorPathList = Array{Any}(length(gamma),1)
    for i = 1:length(gamma)
        # For each sector path in the gamma contour, plot the points in the path and connect them in the order in which they appear in the path
        sectorPath = gamma[i]
        # labels = map(string, collect(1:1:length(sectorPath)))
        sectorPathList[i] = layer(x = real(sectorPath), y = imag(sectorPath), Geom.line(preserve_order=true))
    end
    coord = Coord.cartesian(xmin=-infty, xmax=infty, ymin=-infty, ymax=infty, fixed=true)
    Gadfly.plot(Guide.xlabel("Re"), Guide.ylabel("Im"), coord, sectorPathList...)
end
Out[159]:
plot_contour (generic function with 1 method)

Parameters

  • gamma: Array
    • Contour obtained from get_gamma().
  • infty*: Number
    • Range of search when finding points in $\Gamma$. Default to the global variable INFTY.

Returns

  • plot_contour: None
    • Plots the contour $\Gamma$ in the complex plane.

Example

In [160]:
n = 3
a = im
zeroList = [3+3*sqrt(3)*im, 2+2*sqrt(3)*im, 0+0*im, 0+5*im, 0-5*im, 4]
(gammaAPlus, gammaAMinus, gamma0Plus, gamma0Minus) = get_gamma(a, n, zeroList)
gamma = collect(Iterators.flatten([gammaAPlus, gammaAMinus, gamma0Plus, gamma0Minus]))

plot_contour(gamma)
Out[160]:
Re -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 h,j,k,l,arrows,drag to pan i,o,+,-,scroll,shift-drag to zoom r,dbl-click to reset c for coordinates ? for help ? -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Im
In [161]:
n = 2
a = 1
(gammaAPlus, gammaAMinus, gamma0Plus, gamma0Minus) = get_gamma(a, n, zeroList)
gamma = collect(Iterators.flatten([gammaAPlus, gammaAMinus, gamma0Plus, gamma0Minus]))

plot_contour(gamma)
Out[161]:
Re -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 h,j,k,l,arrows,drag to pan i,o,+,-,scroll,shift-drag to zoom r,dbl-click to reset c for coordinates ? for help ? -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Im
In [162]:
n = 4
a = 1
(gammaAPlus, gammaAMinus, gamma0Plus, gamma0Minus) = get_gamma(a, n, zeroList)
gamma = collect(Iterators.flatten([gammaAPlus, gammaAMinus, gamma0Plus, gamma0Minus]))

plot_contour(gamma)
Out[162]:
Re -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 h,j,k,l,arrows,drag to pan i,o,+,-,scroll,shift-drag to zoom r,dbl-click to reset c for coordinates ? for help ? -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Im

solve_IBVP(L, U, a, zeroList, f; FPlusFunc, FMinusFunc, pDerivMatrix, infty)

Computes the solution \begin{align*} q(x,t) &= f_x\left(e^{-a\lambda^n t}F_\lambda(f)\right)\\ &= \int_{\Gamma_0^+}e^{i\lambda x}e^{-a\lambda^n t}F_\lambda^+(f)\,d\lambda + \int_{\Gamma_a^+}e^{i\lambda x}e^{-a\lambda^n t}F_\lambda^+(f)\,d\lambda + \int_{\Gamma_0^-}e^{i\lambda x}e^{-a\lambda^n t}F_\lambda^-(f)\,d\lambda + \int_{\Gamma_a^-}e^{i\lambda x}e^{-a\lambda^n t}F_\lambda^-(f)\,d\lambda\\ &= \int_{\Gamma_0^+} + \int_{\Gamma_a^+} e^{ix\lambda - at\lambda^n}F_\lambda^+(f)\,d\lambda + \int_{\Gamma_0^-} + \int_{\Gamma_a^-} e^{ix\lambda - at\lambda^n}F_\lambda^-(f)\,d\lambda. \end{align*}

In [163]:
function solve_IBVP(L::LinearDifferentialOperator, U::VectorBoundaryForm, a::Number, zeroList::Array, f::Function; FPlusFunc = lambda->get_FPlusMinus(adjointU; symbolic = false)[1](lambda, f), FMinusFunc = lambda->get_FPlusMinus(adjointU; symbolic = false)[2](lambda, f), pDerivMatrix = get_pDerivMatrix(L), infty = INFTY)
    n = length(L.pFunctions)-1
    adjointU = get_adjointU(L, U, pDerivMatrix)
    (gammaAPlus, gammaAMinus, gamma0Plus, gamma0Minus) = get_gamma(a, n, zeroList)
    function q(x,t)
        integrandPlus(lambda) = e^(im*lambda*x)*e^(-a*lambda^n*t) * FPlusFunc(lambda)
        integrandMinus(lambda) = e^(im*lambda*x)*e^(-a*lambda^n*t) * FMinusFunc(lambda)
        tic()
        println("integrandPlus = $(integrandPlus(1+im))")
        println("integrandMinus = $(integrandMinus(1+im))")
        toc()
        # Integrate over individual paths in the Gamma contours
        println("gamma0Plus = $gamma0Plus")
        tic()
        integralGamma0Plus = 0
        for path in gamma0Plus
            println("path = $path")
            if length(path) == 0
                path = [im,im]
            end
            tic()
            integralGamma0Plus += quadgk(integrandPlus, path...)[1]
            toc()
        end
        toc()
        println("int_0_+ = $integralGamma0Plus")
        
        println("gammaAPlus = $gammaAPlus")
        tic()
        integralGammaAPlus = 0
        for path in gammaAPlus
            println("path = $path")
            if length(path) == 0
                path = [im,im]
            end
            tic()
            integralGammaAPlus += quadgk(integrandPlus, path...)[1]
            toc()
        end
        toc()
        println("int_a_+ = $integralGammaAPlus")
        
        println("gamma0Minus = $gamma0Minus")
        tic()
        integralGamma0Minus = 0
        for path in gamma0Minus
            println("path = $path")
            if length(path) == 0
                path = [-im,-im]
            end
            tic()
            integralGamma0Minus += quadgk(integrandMinus, path...)[1]
            toc()
        end
        toc()
        println("int_0_- = $integralGamma0Minus")
        
        println("gammaAMinus = $gammaAMinus")
        tic()
        integralGammaAMinus = 0
        for path in gammaAMinus
            println("path = $path")
            if length(path) == 0
                path = [-im,-im]
            end
            tic()
            integralGammaAMinus += quadgk(integrandMinus, path...)[1]
            toc()
        end
        toc()
        println("int_a_- = $integralGammaAMinus")
        return (integralGamma0Plus + integralGammaAPlus + integralGamma0Minus + integralGammaAMinus)
    end
    return q
end
Out[163]:
solve_IBVP (generic function with 1 method)

Parameters

  • L: LinearDifferentialOperator
    • Linear differential operator in the differential equation of the IBVP.
  • U: VectorBoundaryForm
    • Vector boundary form encoding the boundary conditions of the IBVP.
  • a: Number
    • Coefficient of L in the differential equation.
  • zeroList: Array
    • List of (approximate) zeroes of $\Delta(\lambda)$.
  • f: Function
    • Initial condition of the IBVP. It also satisfies the boundary conditions.
  • FPlusFunc, FMinusFunc: Function
    • $F^+$, $F^-$. Output of get_FPlusMinus(). Default to lambda-> get_FPlusMinusLambda2(adjointU; symbolic = false)[1](lambda, f). For better performance, the user may usee the symbolic expressions of $F^+$, $F^-$ to directly define FPlusFunc, FMinusFunc as functions.
  • pDerivMatrix*: Array
    • Matrix whose $(i+1)(j+1)$-entry is the $j$th derivative of $p_i$ (L.pFunctions[i]) implemented as a Function, Number, or SymPy.Sym. Default to the output of get_pDerivMatrix(L).
  • infty*: Number
    • Range of search when finding points in $\Gamma$. Default to the global variable INFTY.

Returns

  • solve_IBVP: Function
    • Returns a function q(x,t) that solves the IBVP.

Example

Recall that the IBVP is posed as follows.

Define $n$ linearly independent boundary forms $\{B_j: C\to\mathbb{C}\mid j\in\{1,2,\ldots,n\}\}$ \begin{align*} B_j\phi &= \sum_{k=0}^{n-1} \left(b_{jk}\phi^{(k)}(0) + \beta_{jk}\phi^{(k)}(1)\right),\quad j\in \{1,2,\ldots, n\}. \end{align*} Define \begin{align*} \Phi &= \{\phi\in C: B_j\phi = 0\,\forall j \in \{1,2,\ldots, n\}\}. \end{align*} Let $S:\Phi\to C$ be the linear differential operator $$S\phi(x) = (-i)^n \phi^{(n)}(x).$$

Let $a\in\mathbb{C}$ be a constant.

Consider the IBVP \begin{alignat*}{2} (\partial_t + aS)q(x,t) &= 0,\quad&(x,t)\in (0,1)\times (0,T)\\ q(x,0) = f(x)&\in\Phi,\quad &x\in [0,1]\\ q(\cdot, t) &\in\Phi,\quad &t\in [0,T], \end{alignat*}

Case 1.1

Suppose $n=2$. Then $$S\phi(x)= (-i)^2 \phi^{(2)}(x) = -\phi^{(2)}.$$ Suppose $a=e^{i\theta}$ for $\theta\in [-\frac{\pi}{2}, \frac{\pi}{2}]$.

For $\beta_0, \beta_1\in\hat{\mathbb{C}}$ ($\mathbb{C}$ including $0$ and $\infty$), consider the following boundary conditions $\Phi$: \begin{align*} \varphi(0) + \beta_0\varphi(1) &= 0\\ \varphi'(0) + \beta_1\varphi'(1) &= 0. \end{align*}

We note that in complete form,

  • $S$ is given by $$S\phi = p_0 \phi^{(2)} + p_1 \phi^{(1)} + p_2 \phi^{(0)}$$ where $p_0=-1$, $p_1=p_2=0$.
  • $\Phi$ is given by \begin{align*} 1\cdot \varphi(0) + \beta_0\cdot \varphi(1) + 0\cdot \varphi^{(1)}(0) + 0\cdot \varphi^{(1)}(1) &= 0\\ 0\cdot \varphi(0) + 0\cdot \varphi(1) + 1\cdot \varphi^{(1)}(0) + \beta_1\cdot \varphi^{(1)}(1) &= 0. \end{align*} Thus, $$b = \begin{bmatrix}1&0\\0&1\end{bmatrix},\quad \beta = \begin{bmatrix}\beta_0&0\\0&\beta_1\end{bmatrix}.$$

Thus, $f(x)\in\Phi$ needs to satisfy \begin{align*} Uf = \begin{bmatrix} 1&0&\beta_0&0\\ 0&1&0&\beta_1 \end{bmatrix} \begin{bmatrix}f(0)\\f'(0)\\f(1)\\f'(1)\end{bmatrix} = 0. \end{align*}

In [164]:
n = 2
beta0 = -1
beta1 = -1
theta = 0
a = e^(im*theta)

t = symbols("t")
symPFunctions = [-1 0 0]
interval = (0,1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)
b = [1 0; 0 1]
beta = [beta0 0; 0 beta1]
U = VectorBoundaryForm(b, beta)
f(x) = sin(x*2*pi)
x = symbols("x")
fSym = sin(x*2*PI)
check_boundaryConditions(L, U, fSym)
Out[164]:
true
In [165]:
adjointU = get_adjointU(L, U)
delta = get_delta(adjointU; symbolic = true)
lambda = free_symbols(delta)[1]
x = symbols("x", real = true)
y = symbols("y", real = true)
bivariateDelta = subs(delta, lambda, x+im*y)
plot_levelCurves(bivariateDelta; width = 2500, height = 2000)
Out[165]:
-10.0 -9.6 -9.2 -8.8 -8.4 -8.0 -7.6 -7.2 -6.8 -6.4 -6.0 -5.6 -5.2 -4.8 -4.4 -4.0 -3.6 -3.2 -2.8 -2.4 -2.0 -1.6 -1.2 -0.8 -0.4 0.0 0.4 0.8 1.2 1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8 5.2 5.6 6.0 6.4 6.8 7.2 7.6 8.0 8.4 8.8 9.2 9.6 10.0 -10.0 -9.6 -9.2 -8.8 -8.4 -8.0 -7.6 -7.2 -6.8 -6.4 -6.0 -5.6 -5.2 -4.8 -4.4 -4.0 -3.6 -3.2 -2.8 -2.4 -2.0 -1.6 -1.2 -0.8 -0.4 0.0 0.4 0.8 1.2 1.6 2.0 2.4 2.8 3.2 3.6 4.0 4.4 4.8 5.2 5.6 6.0 6.4 6.8 7.2 7.6 8.0 8.4 8.8 9.2 9.6 10.0
In [166]:
zeroList = [0, 2*pi, -2*pi]
(gammaAPlus, gammaAMinus, gamma0Plus, gamma0Minus) = get_gamma(a, n, zeroList)
gamma = collect(Iterators.flatten([gammaAPlus, gammaAMinus, gamma0Plus, gamma0Minus]))
plot_contour(gamma)
Out[166]:
Re -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 h,j,k,l,arrows,drag to pan i,o,+,-,scroll,shift-drag to zoom r,dbl-click to reset c for coordinates ? for help ? -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 25 30 35 -30 -29 -28 -27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -40 -20 0 20 40 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Im
In [167]:
(FPlusSym, FMinusSym) = get_FPlusMinus(adjointU; symbolic = true)
FPlusSymF = prettyPrint(simplify(FPlusSym(f)))
# FPlusSymF = simplify(FPlusSym(f))
Out[167]:
$$\frac{2 \left(- e^{i \lambda} + 1\right) \left(0.785 \lambda^{8} e^{i \lambda} - 0.785 \lambda^{8} - 0.014 i \lambda^{7} e^{i \lambda} - 0.014 i \lambda^{7} + 31.64 \lambda^{6} e^{i \lambda} - 31.64 \lambda^{6} + 19.892 i \lambda^{5} e^{i \lambda} + 19.892 i \lambda^{5} + 773.28 \lambda^{4} e^{i \lambda} - 773.28 \lambda^{4} - 7508.255 i \lambda^{3} e^{i \lambda} - 7508.255 i \lambda^{3} + 138882.961 \lambda^{2} e^{i \lambda} - 138882.961 \lambda^{2} + 743198.707 i \lambda e^{i \lambda} + 743198.707 i \lambda - 1486397.414 e^{i \lambda} + 1486397.414\right) e^{- i \lambda}}{\pi \lambda^{10} \left(\cos{\left (\lambda \right )} - 1\right)}$$
In [168]:
function FPlusSymFunc(lambda)
    result = (2*(-e^(im*lambda)+1) * (0.785*lambda^8*e^(im*lambda) - 0.785*lambda^8 - 0.014*im*lambda^7*e^(im*lambda) - 0.014*im*lambda^7 + 31.64*lambda^6*e^(im*lambda) - 31.64*lambda^6 + 19.892*im*lambda^5*e^(im*lambda) + 19.892*im*lambda^5 + 773.28*lambda^4*e^(im*lambda) - 773.28*lambda^4 - 7508.255*im*lambda^3*e^(im*lambda) - 7508.255*im*lambda^3 + 138882.961*lambda^2*e^(im*lambda) - 138882.961*lambda^2 + 743198.707*im*lambda*e^(im*lambda) + 743198.707*im*lambda - 1486397.414*e^(im*lambda) + 1486397.414)*e^(-im*lambda))/(pi*lambda^10*(cos(lambda)-1))
    return result
end
Out[168]:
FPlusSymFunc (generic function with 1 method)
In [169]:
FMinusSymF = prettyPrint(FMinusSym(f))
Out[169]:
$$\frac{2 \left(- e^{i \lambda} + 1\right) \left(- 0.785 \lambda^{8} e^{i \lambda} + 0.785 \lambda^{8} + 0.014 i \lambda^{7} e^{i \lambda} + 0.014 i \lambda^{7} - 31.64 \lambda^{6} e^{i \lambda} + 31.64 \lambda^{6} - 19.892 i \lambda^{5} e^{i \lambda} - 19.892 i \lambda^{5} - 773.28 \lambda^{4} e^{i \lambda} + 773.28 \lambda^{4} + 7508.255 i \lambda^{3} e^{i \lambda} + 7508.255 i \lambda^{3} - 138882.961 \lambda^{2} e^{i \lambda} + 138882.961 \lambda^{2} - 743198.707 i \lambda e^{i \lambda} - 743198.707 i \lambda + 1486397.414 e^{i \lambda} - 1486397.414\right) e^{- 2 i \lambda}}{\pi \lambda^{10} \left(- \cos{\left (\lambda \right )} + 1\right)}$$
In [170]:
function FMinusSymFunc(lambda)
    result = (2*(-e^(im*lambda)+1) * (-0.785*lambda^8*e^(im*lambda) + 0.785*lambda^8 + 0.014*im*lambda^7*e^(im*lambda) + 0.014*im*lambda^7 - 31.64*lambda^6*e^(im*lambda) + 31.64*lambda^6 - 19.892*im*lambda^5*e^(im*lambda) - 19.892*im*lambda^5 - 773.28*lambda^4*e^(im*lambda) + 773.28*lambda^4 + 7508.255*im*lambda^3*e^(im*lambda) + 7508.255*im*lambda^3 - 138882.961*lambda^2*e^(im*lambda) + 138882.961*lambda^2 - 743198.707*im*lambda*e^(im*lambda) - 743198.707*im*lambda + 1486397.414*e^(im*lambda) - 1486397.414) * e^(-2*im*lambda))/(pi*lambda^10*(-cos(lambda)+1))
    return result
end
Out[170]:
FMinusSymFunc (generic function with 1 method)
In [171]:
q = solve_IBVP(L, U, a, zeroList, f; FPlusFunc = FPlusSymFunc, FMinusFunc = FMinusSymFunc)
Out[171]:
q (generic function with 1 method)
In [172]:
# tic()
# q(1/2, 1/2)
# toc()
# Slow if FPlusSymFunc, FMinusSymFunc contain many high powers of lambda (long compilation time of integrandPlus, integrandMinus)
# https://github.com/JuliaLang/julia/issues/19158
In [173]:
t = 0.1
# Gadfly.plot(x -> real(q(x,t)), 0, 1)
Out[173]:
0.1

Case 1.2

Now, for $b_0, b_1\in\hat{\mathbb{C}}$, consider the following boundary conditions $\Phi$: \begin{align*} \varphi(0) + b_0\varphi'(0) &= 0\\ \varphi(1) + b_1\varphi'(1) &= 0. \end{align*} We note that in complete form,

  • $\Phi$ is given by \begin{align*} 1\cdot \varphi(0) + 0\cdot \varphi(1) + b_0\cdot \varphi^{(1)}(0) + 0\cdot \varphi^{(1)}(1) &= 0\\ 0\cdot \varphi(0) + 1\cdot \varphi(1) + 0\cdot \varphi^{(1)}(0) + b_1\cdot \varphi^{(1)}(1) &= 0. \end{align*} Thus, $$b = \begin{bmatrix}1&b_0\\ 0&0\end{bmatrix},\quad \beta = \begin{bmatrix}0&0\\ 1&b_1\end{bmatrix}.$$ Thus, $f(x)\in\Phi$ needs to satisfy \begin{align*} Uf = \begin{bmatrix} 1&b_0&0&1\\ 0&0&1&b_1 \end{bmatrix} \begin{bmatrix}f(0)\\f'(0)\\f(1)\\f'(1)\end{bmatrix} = 0. \end{align*}

Case 2.1

Suppose $n=3$. Then $$S\phi(x) = (-i)^3 \phi^{(3)}(x) = i\phi^{(3)}.$$ Suppose $a=\pm i$.

For $\beta_0, \beta_1, \beta_2\in\hat{\mathbb{C}}$ ($\mathbb{C}$ including $0$ and $\infty$), consider the following boundary conditions $\Phi$: \begin{align*} \phi(0) + \beta_0\phi(1) &= 0\\ \phi^{(1)}(0) + \beta_1\phi^{(1)}(1) &= 0\\ \phi^{(2)}(0) + \beta_2\phi^{(2)}(1) &= 0. \end{align*}

We note that in complete form,

  • $S$ is given by $$S\phi = p_0 \phi^{(3)} + p_1 \phi^{(2)} + p_2 \phi^{(1)} + p_3\phi$$ where $p_0=i$, $p_1=p_2=p_3=0$.
  • $\Phi$ is given by \begin{align*} 1\cdot \phi(0) + \beta_0\cdot \phi(1) + 0\cdot \phi^{(1)}(0) + 0\cdot\phi^{(1)}(1) + 0\cdot \phi^{(2)}(0) + 0\cdot\phi^{(2)}(1) &= 0\\ 0\cdot \phi(0) + 0\cdot \phi(1) + 1\cdot \phi^{(1)}(0) + \beta_1\cdot \phi^{(1)}(1) + 0\cdot \phi^{(2)}(0) + 0\cdot\phi^{(2)}(1) &= 0\\ 0\cdot \phi(0) + 0\cdot \phi(1) + 0\cdot \phi^{(1)}(0) + 0\cdot \phi^{(1)}(1) + 1\cdot \phi^{(2)}(0) + \beta_2\cdot \phi^{(2)}(1) &= 0. \end{align*} Thus, $$b = \begin{bmatrix}1&0&0\\0&1&0\\ 0&0&1\end{bmatrix},\quad \beta = \begin{bmatrix}\beta_0&0&0\\0&\beta_1&0\\ 0&0&\beta_2\end{bmatrix}.$$ Thus, $f(x)\in\Phi$ needs to satisfy \begin{align*} Uf = \begin{bmatrix} 1&0&0&\beta_0&0&0\\ 0&1&0&0&\beta_1&0\\ 0&0&1&0&0&\beta_2 \end{bmatrix} \begin{bmatrix}f(0)\\f'(0)\\f''(0)\\f(1)\\f'(1)\\f''(1)\end{bmatrix} = 0. \end{align*}

Case 2.2

Now, for $b_0\in\hat{\mathbb{C}}$, consider the following boundary conditions $\Phi$: \begin{align*} \varphi(0) &= 0\\ \varphi(1) &= 1\\ \varphi^{(1)}(0) + b_0\varphi^{(1)}(1) &= 0. \end{align*} We note that in complete form,

  • $\Phi$ is given by \begin{align*} 1\cdot \varphi(0) + 0\cdot \varphi(1) + 0\cdot \varphi^{(1)}(0) + 0\cdot \varphi^{(1)}(1) + 0\cdot \varphi^{(2)}(0) + 0\cdot \varphi^{(2)}(1)&= 0\\ 0\cdot \varphi(0) + 1\cdot \varphi(1) + 0\cdot \varphi^{(1)}(0) + 0\cdot \varphi^{(1)}(1) + 0\cdot \varphi^{(2)}(0) + 0\cdot \varphi^{(2)}(1)&= 0\\ 0\cdot \varphi(0) + 0\cdot \varphi(1) + 1\cdot \varphi^{(1)}(0) + b_0\cdot \varphi^{(1)}(1) + 0\cdot \varphi^{(2)}(0) + 0\cdot \varphi^{(2)}(1)&= 0 \end{align*} Thus, $$b = \begin{bmatrix}1&0&0\\ 0&0&0\\ 0&1&0\end{bmatrix},\quad \beta = \begin{bmatrix}0&0&0\\ 1&0&0\\ 0&b_0&0\end{bmatrix}.$$ Thus, $f(x)\in\Phi$ needs to satisfy \begin{align*} Uf = \begin{bmatrix} 1&0&0& 0&0&0\\ 0&0&0& 1&0&0\\ 0&1&0& 0&b_0&0 \end{bmatrix} \begin{bmatrix}f(0)\\f'(0)\\f''(0)\\f(1)\\f'(1)\\f''(1)\end{bmatrix} = 0. \end{align*}

Verifying the formulas of $F_\lambda^+$, $F_\lambda^-$

Problem 1

\begin{alignat*}{3} q_t(x,t) + q_{xxx}(x,t) &= 0,\quad &(x,t)&\in (0,1)\times (0,T)\\ q(x,0) &= f(x),\quad &x&\in [0,1]\\ q(0,t) &= 0, \quad &t&\in [0,T]\\ q(1,t) &= 0\quad &t&\in [0,T]\\ q_x(1,t) &= \frac{1}{2}q_x(0,t)\quad &t&\in [0,T]. \end{alignat*}

\begin{align*} F_\lambda^+(f) &= \frac{1}{2\pi\Delta(\lambda)}\left[\text{FT}[f](\lambda)(e^{i\lambda} + 2\alpha e^{-i\alpha\lambda} + 2\alpha^2 e^{-i\alpha^2\lambda}) + \text{FT}[f](\alpha\lambda)(\alpha e^{i\alpha\lambda} - 2\alpha e^{-i\lambda}) \right.\\ &\qquad \left. + \text{FT}[f](\alpha^2\lambda)(\alpha^2e^{i\alpha\lambda} - 2\alpha^2e^{-i\lambda})\right]\\ F_\lambda^-(f) &= \frac{e^{-i\lambda}}{2\pi\Delta(\lambda)}\left[-\text{FT}[f](\lambda)(2+\alpha^2 e^{-\alpha\lambda} + \alpha e^{-\alpha^2\lambda}) - \alpha\text{FT}[f](\alpha\lambda)(2-e^{-i\alpha^2\lambda}) \right.\\ &\qquad \left. - \alpha^2\text{FT}[f](\alpha^2\lambda)(2-e^{-i\alpha\lambda})\right], \end{align*} where \begin{align*} \Delta(\lambda) = e^{i\lambda} + \alpha e^{i\alpha\lambda} + \alpha^2 e^{i\alpha^2\lambda} + 2(e^{-i\lambda} + \alpha e^{-i\alpha\lambda} + \alpha^2e^{-i\alpha^2\lambda}). \end{align*}

In [174]:
n = 3

t = symbols("t")
symPFunctions = [1 0 0 0]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)
M = [1 0 0; 0 0 0; 0 1 0]
N = [0 0 0; 1 0 0; 0 -2 0]
U = VectorBoundaryForm(M, N)
Out[174]:
VectorBoundaryForm([1 0 0; 0 0 0; 0 1 0], [0 0 0; 1 0 0; 0 -2 0])
In [175]:
c = symbols("c")
FT = SymFunction("FT[f]")(c)
FTc = symbols("FT[f](c)")
alpha = symbols("alpha")
lambda = symbols("lambda")
Out[175]:
$$\lambda$$
In [176]:
deltaFormula = e^(im*lambda) + alpha*e^(im*alpha*lambda) + (alpha)^2*e^(im*(alpha)^2*lambda) + 2*(e^(-im*lambda) + alpha*e^(-im*alpha*lambda) + (alpha)^2*e^(-im*(alpha)^2*lambda))
Out[176]:
$$\alpha^{2} e^{i \alpha^{2} \lambda} + 2 \alpha^{2} e^{- i \alpha^{2} \lambda} + \alpha e^{i \alpha \lambda} + 2 \alpha e^{- i \alpha \lambda} + e^{i \lambda} + 2 e^{- i \lambda}$$
In [177]:
FPlusFormula = 1/(2*PI*deltaFormula) * (FT(lambda)*(e^(im*lambda) + 2*alpha*e^(-im*alpha*lambda) + 2*alpha^2*e^(-im*alpha^2*lambda)) + FT(alpha*lambda)*(alpha*e^(im*alpha*lambda) - 2*alpha*e^(-im*lambda)) + FT(alpha^2*lambda)*(alpha^2*e^(im*alpha^2*lambda) - 2*alpha^2*e^(-im*lambda)))
Out[177]:
$$\frac{\left(\alpha e^{i \alpha \lambda} - 2 \alpha e^{- i \lambda}\right) \operatorname{FT[f]}{\left (\alpha \lambda \right )} + \left(\alpha^{2} e^{i \alpha^{2} \lambda} - 2 \alpha^{2} e^{- i \lambda}\right) \operatorname{FT[f]}{\left (\alpha^{2} \lambda \right )} + \left(2 \alpha^{2} e^{- i \alpha^{2} \lambda} + 2 \alpha e^{- i \alpha \lambda} + e^{i \lambda}\right) \operatorname{FT[f]}{\left (\lambda \right )}}{2 \pi \left(\alpha^{2} e^{i \alpha^{2} \lambda} + 2 \alpha^{2} e^{- i \alpha^{2} \lambda} + \alpha e^{i \alpha \lambda} + 2 \alpha e^{- i \alpha \lambda} + e^{i \lambda} + 2 e^{- i \lambda}\right)}$$
In [178]:
FMinusFormula = (e^(-im*lambda))/(2*PI*deltaFormula) * (-FT(lambda)*(2+alpha^2*e^(-im*alpha*lambda)+alpha*e^(-im*alpha^2*lambda)) - alpha*FT(alpha*lambda)*(2-e^(-im*alpha^2*lambda)) - alpha^2*FT(alpha^2*lambda)*(2-e^(-im*alpha*lambda)))
Out[178]:
$$\frac{\left(- \alpha^{2} \left(2 - e^{- i \alpha \lambda}\right) \operatorname{FT[f]}{\left (\alpha^{2} \lambda \right )} - \alpha \left(2 - e^{- i \alpha^{2} \lambda}\right) \operatorname{FT[f]}{\left (\alpha \lambda \right )} - \left(\alpha^{2} e^{- i \alpha \lambda} + \alpha e^{- i \alpha^{2} \lambda} + 2\right) \operatorname{FT[f]}{\left (\lambda \right )}\right) e^{- i \lambda}}{2 \pi \left(\alpha^{2} e^{i \alpha^{2} \lambda} + 2 \alpha^{2} e^{- i \alpha^{2} \lambda} + \alpha e^{i \alpha \lambda} + 2 \alpha e^{- i \alpha \lambda} + e^{i \lambda} + 2 e^{- i \lambda}\right)}$$
In [179]:
adjointU = get_adjointU(L, U)
(FPlusSymGeneric, FMinusSymGeneric) = get_FPlusMinus(adjointU; symbolic = true, generic = true)
prettyPrint(simplify(FPlusSymGeneric))
Out[179]:
$$\frac{0.25 \alpha \operatorname{FT[f]}{\left (\lambda \right )} e^{i \lambda} - 0.5 \alpha \operatorname{FT[f]}{\left (\lambda \right )} e^{i \lambda \left(\alpha^{2} + 1\right)} - 0.25 \alpha \operatorname{FT[f]}{\left (\alpha \lambda \right )} e^{i \alpha \lambda} + 0.5 \alpha \operatorname{FT[f]}{\left (\alpha \lambda \right )} e^{i \alpha \lambda \left(\alpha + 1\right)} + 0.5 \operatorname{FT[f]}{\left (\lambda \right )} e^{i \lambda \left(\alpha + 1\right)} - 0.5 \operatorname{FT[f]}{\left (\lambda \right )} e^{i \lambda \left(\alpha^{2} + 1\right)} - 0.25 \operatorname{FT[f]}{\left (\alpha \lambda \right )} e^{i \alpha \lambda} + 0.5 \operatorname{FT[f]}{\left (\alpha \lambda \right )} e^{i \alpha \lambda \left(\alpha + 1\right)} + 0.25 \operatorname{FT[f]}{\left (\alpha^{2} \lambda \right )} e^{i \alpha^{2} \lambda} - 0.5 \operatorname{FT[f]}{\left (\alpha^{2} \lambda \right )} e^{i \alpha \lambda \left(\alpha + 1\right)}}{\pi \left(0.5 \alpha e^{i \lambda} - 0.5 \alpha e^{i \alpha \lambda} - \alpha e^{i \lambda \left(\alpha^{2} + 1\right)} + \alpha e^{i \alpha \lambda \left(\alpha + 1\right)} - 0.5 e^{i \alpha \lambda} + 0.5 e^{i \alpha^{2} \lambda} + e^{i \lambda \left(\alpha + 1\right)} - e^{i \lambda \left(\alpha^{2} + 1\right)}\right)}$$
In [180]:
prettyPrint(simplify(FMinusSymGeneric))
Out[180]:
$$\frac{0.25 \alpha \operatorname{FT[f]}{\left (\lambda \right )} e^{i \alpha \lambda} - 0.5 \alpha \operatorname{FT[f]}{\left (\lambda \right )} e^{i \alpha \lambda \left(\alpha + 1\right)} - 0.25 \alpha \operatorname{FT[f]}{\left (\alpha \lambda \right )} e^{i \alpha \lambda} + 0.5 \alpha \operatorname{FT[f]}{\left (\alpha \lambda \right )} e^{i \alpha \lambda \left(\alpha + 1\right)} + 0.25 \operatorname{FT[f]}{\left (\lambda \right )} e^{i \alpha \lambda} - 0.25 \operatorname{FT[f]}{\left (\lambda \right )} e^{i \alpha^{2} \lambda} - 0.25 \operatorname{FT[f]}{\left (\alpha \lambda \right )} e^{i \alpha \lambda} + 0.5 \operatorname{FT[f]}{\left (\alpha \lambda \right )} e^{i \alpha \lambda \left(\alpha + 1\right)} + 0.25 \operatorname{FT[f]}{\left (\alpha^{2} \lambda \right )} e^{i \alpha^{2} \lambda} - 0.5 \operatorname{FT[f]}{\left (\alpha^{2} \lambda \right )} e^{i \alpha \lambda \left(\alpha + 1\right)}}{\pi \left(0.5 \alpha e^{i \lambda} - 0.5 \alpha e^{i \alpha \lambda} - \alpha e^{i \lambda \left(\alpha^{2} + 1\right)} + \alpha e^{i \alpha \lambda \left(\alpha + 1\right)} - 0.5 e^{i \alpha \lambda} + 0.5 e^{i \alpha^{2} \lambda} + e^{i \lambda \left(\alpha + 1\right)} - e^{i \lambda \left(\alpha^{2} + 1\right)}\right)}$$
In [181]:
function test_formula(formula1, formula2)
    results = [true]
    for i = 1:100
        println("i = $i")
        realLambda = rand(Uniform(-50.0,50.0), 1, 1)[1]
        imagLambda = rand(Uniform(-50.0,50.0), 1, 1)[1]
        lambdaVal = realLambda + im*imagLambda
        println("lambda = $lambdaVal")
        println("-----------------------------------------------------------------")
        
        println(FT(lambda))
        output1 = SymPy.N(subs(formula1, (FT(lambda), 1), (FT(alpha*lambda), 0), (FT(alpha^2*lambda), 0), (alpha, e^(2*pi*im/n)), (lambda, lambdaVal)))
        output2 = SymPy.N(subs(formula2, (FT(lambda), 1), (FT(alpha*lambda), 0), (FT(alpha^2*lambda), 0), (alpha, e^(2*pi*im/n)), (lambda, lambdaVal)))
        println("Formula1 = $output1")
        println("Formula2 = $output2")
        println("-----------------------------------------------------------------")
        result = is_approx(output1-output2, 0)
        append!(results, result)


        println(FT(alpha*lambda))
        output1 = SymPy.N(subs(formula1, (FT(lambda), 0), (FT(alpha*lambda), 1), (FT(alpha^2*lambda), 0), (alpha, e^(2*pi*im/n)), (lambda, lambdaVal)))
        output2 = SymPy.N(subs(formula2, (FT(lambda), 0), (FT(alpha*lambda), 1), (FT(alpha^2*lambda), 0), (alpha, e^(2*pi*im/n)), (lambda, lambdaVal)))
        println("Formula1 = $output1")
        println("Formula2 = $output2")
        println("-----------------------------------------------------------------")
        result = is_approx(output1-output2, 0)
        append!(results, result)

        println(FT(alpha^2*lambda))
        output1 = SymPy.N(subs(formula1, (FT(lambda), 0), (FT(alpha*lambda), 0), (FT(alpha^2*lambda), 1), (alpha, e^(2*pi*im/n)), (lambda, lambdaVal)))
        output2 = SymPy.N(subs(formula2, (FT(lambda), 0), (FT(alpha*lambda), 0), (FT(alpha^2*lambda), 1), (alpha, e^(2*pi*im/n)), (lambda, lambdaVal)))
        println("Formula1 = $output1")
        println("Formula2 = $output2")
        println("-----------------------------------------------------------------")
        result = is_approx(output1-output2, 0)
        append!(results, result)
        println("=================================================================")
    end
    return all(results)
end
Out[181]:
test_formula (generic function with 1 method)
In [182]:
test_formula(FPlusFormula, FPlusSymGeneric)
i = 1
lambda = 1.9020971446174855 - 37.94860161236158im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 8.470329472543003e-22im
Formula2 = 0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.491517300520733e-27 + 3.7053198543268145e-27im
Formula2 = 4.491517300520733e-27 + 3.7053198543268166e-27im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.5600649889832866e-25 - 1.7685506448704102e-26im
Formula2 = 1.5600649889832868e-25 - 1.7685506448704002e-26im
-----------------------------------------------------------------
=================================================================
i = 2
lambda = 47.52904222957149 + 4.6510708246069825im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.00041532174562396087 + 0.0030043329486132645im
Formula2 = 0.0004153217456239709 + 0.0030043329486132025im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.6194664886999084e-19 - 4.313305973536954e-18im
Formula2 = -2.6194664887001684e-19 - 4.313305973536875e-18im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15873962134627137 - 0.00300433294861326im
Formula2 = 0.15873962134627137 - 0.003004332948613198im
-----------------------------------------------------------------
=================================================================
i = 3
lambda = -27.839318280389634 + 41.54288482589119im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.5813799373183685e-19 - 1.6365729945989445e-19im
Formula2 = 2.581379937318391e-19 - 1.6365729945989963e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1567562774888893 + 0.011705960550028779im
Formula2 = 0.1567562774888894 + 0.011705960550028994im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.002398665603006048 - 0.011705960550028777im
Formula2 = 0.002398665603005922 - 0.011705960550028992im
-----------------------------------------------------------------
=================================================================
i = 4
lambda = -46.55613836077062 + 35.28874794546364im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.3340985267170116e-16 - 6.93607204228345e-17im
Formula2 = 1.334098526717037e-16 - 6.936072042283701e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1591549431288352 - 2.6107817049616155e-11im
Formula2 = 0.1591549431288352 - 2.6107817048345606e-11im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.69400231298466e-11 + 2.6107886409161276e-11im
Formula2 = -3.6940023129846765e-11 + 2.6107886409162155e-11im
-----------------------------------------------------------------
=================================================================
i = 5
lambda = 48.182902962645315 + 42.23760242277095im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -7.362592674604505e-20 + 1.2411373507453795e-19im
Formula2 = -7.362592674604164e-20 + 1.2411373507453761e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.5610187637779144e-10 - 2.39553286686506e-11im
Formula2 = -3.5610187637778674e-10 - 2.3955328668645065e-11im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15915494344799722 + 2.395532854689768e-11im
Formula2 = 0.15915494344799722 + 2.395532854435658e-11im
-----------------------------------------------------------------
=================================================================
i = 6
lambda = 14.047590126833029 - 7.499652528120059im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15911894394293508 - 2.532788863559282e-5im
Formula2 = 0.15911894394293508 - 2.53278886355929e-5im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.5868337327160885e-12 + 9.75626921233093e-12im
Formula2 = 4.586833732716089e-12 + 9.756269212330922e-12im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.599914437341816e-5 + 2.532787887932361e-5im
Formula2 = 3.5999144373418404e-5 + 2.5327878879323688e-5im
-----------------------------------------------------------------
=================================================================
i = 7
lambda = -0.821902520349191 - 11.867666064611846im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591549397693413 - 6.671133756239989e-9im
Formula2 = 0.1591549397693413 - 6.671133756239989e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 3.1196949355098727e-9 + 5.2193116702092685e-9im
Formula2 = 3.119694935509872e-9 + 5.219311670209271e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.0285908429147508e-10 + 1.4518220860322182e-9im
Formula2 = 2.0285908429147405e-10 + 1.4518220860322186e-9im
-----------------------------------------------------------------
=================================================================
i = 8
lambda = -37.23804734193716 - 26.737970001476686im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309205727 + 1.0751653304371788e-13im
Formula2 = 0.15915494309205727 + 1.0751653304371788e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.6192991246230012e-13 - 1.0751653323610286e-13im
Formula2 = -1.619299124622999e-13 - 1.0751653323609902e-13im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.688684069460458e-33 - 5.755094084862325e-33im
Formula2 = -1.688684069460503e-33 - 5.755094084862303e-33im
-----------------------------------------------------------------
=================================================================
i = 9
lambda = 24.730702790514968 + 2.632611768522473im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.01895761158978776 - 0.017398188834645653im
Formula2 = -0.01895761158978769 - 0.017398188834645372im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 3.9631326723292755e-10 - 5.362242450159559e-10im
Formula2 = 3.9631326723292285e-10 - 5.362242450159517e-10im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.17811255428536982 + 0.0173981893708699im
Formula2 = 0.17811255428536976 + 0.017398189370869618im
-----------------------------------------------------------------
=================================================================
i = 10
lambda = -15.941346896647367 + 32.332158903679726im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.1927888854008134e-16 + 7.628429596207198e-17im
Formula2 = -1.1927888854008206e-16 + 7.628429596207152e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.0810337603725136 - 0.14548731491606243im
Formula2 = 0.08103376037251374 - 0.14548731491606237im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07812118271938187 + 0.1454873149160623im
Formula2 = 0.07812118271938172 + 0.1454873149160623im
-----------------------------------------------------------------
=================================================================
i = 11
lambda = 5.009540183601317 - 45.96063340028831im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 8.470329472543003e-22im
Formula2 = 0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.3462394338607128e-33 + 4.132828057032243e-34im
Formula2 = -2.346239433860714e-33 + 4.132828057032238e-34im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 9.182917728468668e-30 + 1.0531570971730172e-29im
Formula2 = 9.182917728468662e-30 + 1.053157097173018e-29im
-----------------------------------------------------------------
=================================================================
i = 12
lambda = -7.709735448649745 + 27.41648054252228im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.6660222662385386e-16 + 5.097197579881963e-17im
Formula2 = 1.6660222662385376e-16 + 5.097197579881966e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07963229393810556 - 0.1377882293563226im
Formula2 = 0.07963229393810563 - 0.1377882293563226im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07952264915378962 + 0.13778822935632248im
Formula2 = 0.07952264915378955 + 0.13778822935632257im
-----------------------------------------------------------------
=================================================================
i = 13
lambda = 5.169251607405492 + 21.562416955172978im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.2176626177578508e-13 - 3.074727452525433e-14im
Formula2 = -1.2176626177578495e-13 - 3.0747274525254647e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07946949252974847 - 0.1377349579679892im
Formula2 = 0.07946949252974853 - 0.13773495796798924im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07968545056226865 + 0.1377349579680199im
Formula2 = 0.07968545056226857 + 0.13773495796802im
-----------------------------------------------------------------
=================================================================
i = 14
lambda = 26.029529911408588 + 15.700789192547077im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.7615110826551444e-8 - 4.4989613097840816e-8im
Formula2 = 1.7615110826550947e-8 - 4.498961309784049e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.2033481293558053e-7 - 5.5495491085592636e-8im
Formula2 = 1.2033481293557886e-7 - 5.5495491085593476e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15915480514197158 + 1.0048510418343335e-7im
Formula2 = 0.15915480514197158 + 1.0048510418343207e-7im
-----------------------------------------------------------------
=================================================================
i = 15
lambda = 35.56224726474623 - 43.96806361783554im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 5.082197683525802e-21im
Formula2 = 0.15915494309189535 + 5.082197683525802e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.3802863613564146e-43 + 6.533999558409009e-44im
Formula2 = 1.380286361356426e-43 + 6.533999558408929e-44im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.9586014489467183e-21 - 5.667666860364752e-21im
Formula2 = -2.9586014489468564e-21 - 5.6676668603648145e-21im
-----------------------------------------------------------------
=================================================================
i = 16
lambda = 37.84250805577871 - 22.41312220861209im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309734532 - 1.3636992404360508e-11im
Formula2 = 0.15915494309734532 - 1.3636992404042871e-11im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.195569415749204e-30 - 7.907209450759492e-31im
Formula2 = -2.1955694157491863e-30 - 7.907209450759506e-31im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -5.449991537596963e-12 + 1.363699240455513e-11im
Formula2 = -5.449991537596992e-12 + 1.3636992404555343e-11im
-----------------------------------------------------------------
=================================================================
i = 17
lambda = 17.329813385145826 - 31.224064806486208im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189748 - 1.2819276144619175e-15im
Formula2 = 0.15915494309189748 - 1.2819335436925483e-15im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.385110305962669e-28 - 2.2204068611279485e-28im
Formula2 = -3.3851103059626493e-28 - 2.2204068611279055e-28im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.146685933279074e-15 + 1.281927105132924e-15im
Formula2 = -2.1466859332790456e-15 + 1.2819271051329485e-15im
-----------------------------------------------------------------
=================================================================
i = 18
lambda = -44.07905715872123 + 32.512303386235715im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -9.998424107846177e-16 + 2.1984202281496923e-15im
Formula2 = -9.998424107846248e-16 + 2.1984202281497337e-15im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915494304959296 + 8.665780060664052e-11im
Formula2 = 0.15915494304959296 + 8.665780061002865e-11im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.2303380948409836e-11 - 8.665999902811911e-11im
Formula2 = 4.2303380948409235e-11 - 8.66599990281209e-11im
-----------------------------------------------------------------
=================================================================
i = 19
lambda = -33.809859167083275 - 24.091261595534917im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591549430892753 - 8.091434177887112e-13im
Formula2 = 0.1591549430892753 - 8.091434220238759e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.6200321040611782e-12 + 8.091434178407451e-13im
Formula2 = 2.6200321040611657e-12 + 8.09143417840698e-13im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.7213314524505854e-32 + 6.187730005475942e-30im
Formula2 = -3.721331452445893e-32 + 6.187730005475949e-30im
-----------------------------------------------------------------
=================================================================
i = 20
lambda = -11.228462257983637 - 26.162521574289244im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309191316 + 1.4883565317296054e-14im
Formula2 = 0.15915494309191316 + 1.488356489377958e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.782710638752592e-14 - 1.488356531252783e-14im
Formula2 = -1.782710638752594e-14 - 1.488356531252784e-14im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.0063480009077782e-23 - 8.832832193175353e-23im
Formula2 = -1.0063480009077719e-23 - 8.832832193175363e-23im
-----------------------------------------------------------------
=================================================================
i = 21
lambda = -9.317117474400781 - 2.0677923534225826im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15305498257304914 - 0.007532617712244896im
Formula2 = 0.15305498257304914 - 0.0075326177122448665im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.006101920704755761 + 0.007531716426817818im
Formula2 = 0.006101920704755767 + 0.007531716426817788im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.960185909575062e-6 + 9.012854270782258e-7im
Formula2 = -1.9601859095750633e-6 + 9.012854270782312e-7im
-----------------------------------------------------------------
=================================================================
i = 22
lambda = -14.0053523506962 - 43.80070880491207im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 4.235164736271502e-22im
Formula2 = 0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.9326560787882427e-25 - 8.405375272063822e-25im
Formula2 = -1.932656078788241e-25 - 8.405375272063825e-25im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.4794299633550896e-35 - 4.238920367392718e-36im
Formula2 = 2.47942996335509e-35 - 4.2389203673927024e-36im
-----------------------------------------------------------------
=================================================================
i = 23
lambda = 49.84631307836605 - 41.02932153180203im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 7.284483346386983e-20im
Formula2 = 0.15915494309189535 - 7.030373462210693e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.7485328039725497e-48 + 5.317090055122532e-47im
Formula2 = -1.748532803972753e-48 + 5.317090055122484e-47im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -9.773079529944548e-20 + 7.096223207300602e-20im
Formula2 = -9.773079529944671e-20 + 7.096223207300837e-20im
-----------------------------------------------------------------
=================================================================
i = 24
lambda = -22.015657250989417 + 36.51672994169873im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -7.69254231029421e-17 - 1.2231450116371337e-16im
Formula2 = -7.692542310294499e-17 - 1.2231450116370888e-16im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.6017260012368186 - 0.14477834952267063im
Formula2 = 0.6017260012368042 - 0.1447783495226839im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.44257105814492304 + 0.14477834952267085im
Formula2 = -0.4425710581449088 + 0.14477834952268404im
-----------------------------------------------------------------
=================================================================
i = 25
lambda = 35.59213854928436 + 31.996038559951373im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.9793178881099378e-15 + 3.5300907342744523e-15im
Formula2 = -1.9793178881098553e-15 + 3.5300907342744515e-15im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.0303170970755741e-7 - 5.3111099042231805e-8im
Formula2 = 1.0303170970755555e-7 - 5.311109904223275e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.1591548400601876 + 5.3111095512140875e-8im
Formula2 = 0.1591548400601876 + 5.311109551214458e-8im
-----------------------------------------------------------------
=================================================================
i = 26
lambda = -35.020371181294884 + 8.311524593912623im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 4.7855484741459764e-6 - 7.805002436002528e-5im
Formula2 = 4.785548474146107e-6 - 7.805002436002615e-5im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915015754328524 + 7.805002572144991e-5im
Formula2 = 0.15915015754328524 + 7.805002572145078e-5im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.3594493486127489e-13 - 1.3614246320512962e-12im
Formula2 = 1.359449348612771e-13 - 1.361424632051313e-12im
-----------------------------------------------------------------
=================================================================
i = 27
lambda = 20.337891757283373 + 39.20772260602166im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.665679741517772e-19 - 1.2599830802815257e-19im
Formula2 = -1.6656797415177681e-19 - 1.259983080281546e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.0904715176326552 - 0.13555040996380127im
Formula2 = 0.09047151763265526 - 0.13555040996380102im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.06868342545924017 + 0.1355504099638012im
Formula2 = 0.06868342545924007 + 0.13555040996380102im
-----------------------------------------------------------------
=================================================================
i = 28
lambda = -14.993168511813934 + 20.856840395029778im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.7499769755454337e-10 - 4.913772944508511e-11im
Formula2 = 2.7499769755454534e-10 - 4.9137729445086725e-11im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.13700910610974468 + 0.011116374576069758im
Formula2 = 0.13700910610974457 + 0.011116374576069975im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.02214583670715295 - 0.011116374526932033im
Formula2 = 0.022145836707153067 - 0.011116374526932246im
-----------------------------------------------------------------
=================================================================
i = 29
lambda = -5.271843138815015 + 30.82971974828213im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 6.83974385663564e-20 + 1.059934535323267e-19im
Formula2 = 6.83974385663561e-20 + 1.0599345353232728e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957822583946027 - 0.1378335726829595im
Formula2 = 0.07957822583946032 - 0.1378335726829595im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957671725243508 + 0.13783357268295945im
Formula2 = 0.07957671725243501 + 0.1378335726829595im
-----------------------------------------------------------------
=================================================================
i = 30
lambda = -42.62891151582613 - 42.95954528862866im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 5.082197683525802e-21im
Formula2 = 0.15915494309189535 - 5.082197683525802e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.6711388880200127e-20 + 5.28296414317504e-21im
Formula2 = -1.67113888801997e-20 + 5.282964143175239e-21im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 5.450937801312465e-47 - 1.5231397878700295e-45im
Formula2 = 5.450937801314053e-47 - 1.52313978787002e-45im
-----------------------------------------------------------------
=================================================================
i = 31
lambda = -9.894818658125558 + 25.481644252731627im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 5.454002920859053e-15 - 2.018306455748914e-14im
Formula2 = 5.4540029208591896e-15 - 2.0183064557489175e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07995291306021707 - 0.1366730842986338im
Formula2 = 0.07995291306021711 - 0.13667308429863384im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07920203003167282 + 0.13667308429865394im
Formula2 = 0.07920203003167277 + 0.13667308429865402im
-----------------------------------------------------------------
=================================================================
i = 32
lambda = -7.562494785086841 + 9.269946522770603im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.4751367472998693e-5 + 3.33208123337365e-5im
Formula2 = 2.475136747299893e-5 + 3.3320812333736606e-5im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1666929366849278 + 0.06448233349138899im
Formula2 = 0.16669293668492802 + 0.06448233349138928im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.0075627449605054665 - 0.0645156543037227im
Formula2 = -0.0075627449605056895 - 0.06451565430372301im
-----------------------------------------------------------------
=================================================================
i = 33
lambda = 6.117371402236714 - 13.57180980451551im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591549605785167 - 2.6399579727992346e-8im
Formula2 = 0.1591549605785167 - 2.6399579727993193e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.860405308960651e-13 - 1.01428767089878e-12im
Formula2 = 2.860405308960632e-13 - 1.0142876708987795e-12im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.748690740499757e-8 + 2.6400594015663382e-8im
Formula2 = -1.748690740499756e-8 + 2.6400594015663438e-8im
-----------------------------------------------------------------
=================================================================
i = 34
lambda = -5.824750141796109 + 4.93594592118567im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.0019436137548832267 + 0.0009675951681246114im
Formula2 = -0.0019436137548832326 + 0.0009675951681246156im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.13811416529479154 - 0.0005838794297049662im
Formula2 = 0.13811416529479148 - 0.0005838794297049596im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.02298439155198702 - 0.0003837157384196516im
Formula2 = 0.022984391551987077 - 0.00038371573841965606im
-----------------------------------------------------------------
=================================================================
i = 35
lambda = 5.375205188764909 - 37.84112224896465im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.354577007842074e-29 + 3.362916282575288e-28im
Formula2 = -3.3545770078420844e-29 + 3.362916282575289e-28im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.8459838393709582e-24 + 3.2460673283580025e-24im
Formula2 = 1.8459838393709564e-24 + 3.2460673283580044e-24im
-----------------------------------------------------------------
=================================================================
i = 36
lambda = 29.72618602901042 - 47.40755623994018im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 + 4.235164736271502e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.31373837204713e-43 - 4.3990828813325223e-44im
Formula2 = 1.3137383720471262e-43 - 4.399082881332481e-44im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.7076739798979115e-22 - 1.354536706492104e-22im
Formula2 = -1.7076739798979608e-22 - 1.3545367064921055e-22im
-----------------------------------------------------------------
=================================================================
i = 37
lambda = -20.173082984770517 + 19.406279804768317im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 8.51236127250512e-10 + 8.273109180723563e-10im
Formula2 = 8.512361272505265e-10 + 8.27310918072357e-10im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15905310716417262 - 8.810124495170156e-5im
Formula2 = 0.15905310716417262 - 8.810124495170242e-5im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0001018350764865966 + 8.810041764078343e-5im
Formula2 = 0.00010183507648659832 + 8.810041764078436e-5im
-----------------------------------------------------------------
=================================================================
i = 38
lambda = 14.805022512522854 - 38.1546993884875im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 6.776263578034403e-21im
Formula2 = 0.15915494309189535 + 5.082197683525802e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 5.599964038350172e-32 + 2.1541565680876178e-32im
Formula2 = 5.599964038350173e-32 + 2.1541565680876197e-32im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 5.74144638636299e-21 - 5.839656983058183e-21im
Formula2 = 5.7414463863629946e-21 - 5.839656983058181e-21im
-----------------------------------------------------------------
=================================================================
i = 39
lambda = -31.096035648088225 - 2.5081623207908734im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.16401853244527745 + 0.004578500697541336im
Formula2 = 0.16401853244527742 + 0.004578500697541254im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -0.004863589353375432 - 0.004578500697537535im
Formula2 = -0.0048635893533753955 - 0.004578500697537452im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -6.678057916795011e-15 - 3.801741383890838e-15im
Formula2 = -6.6780579167950134e-15 - 3.801741383890797e-15im
-----------------------------------------------------------------
=================================================================
i = 40
lambda = -4.765476432243233 + 38.83568397508772im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.215048437820796e-25 + 4.430506603098058e-25im
Formula2 = 2.2150484378207905e-25 + 4.430506603098099e-25im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747360083099 - 0.13783224194041657im
Formula2 = 0.07957747360083105 - 0.13783224194041657im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957746949106437 + 0.13783224194041652im
Formula2 = 0.07957746949106428 + 0.13783224194041657im
-----------------------------------------------------------------
=================================================================
i = 41
lambda = 24.971364627592067 - 20.268049492950624im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591549431712652 - 9.71573208729859e-11im
Formula2 = 0.1591549431712652 - 9.71573208679037e-11im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.99322336806284e-24 + 3.514130899859766e-24im
Formula2 = -1.9932233680628316e-24 + 3.514130899859743e-24im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -7.936984242172245e-11 + 9.715732087341443e-11im
Formula2 = -7.936984242172256e-11 + 9.715732087341567e-11im
-----------------------------------------------------------------
=================================================================
i = 42
lambda = 27.70731076803625 + 49.118700285572146im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 3.1026715445312436e-24 - 4.948123795305748e-23im
Formula2 = 3.1026715445313248e-24 - 4.948123795305694e-23im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.13251901094625138 - 0.13219682595483553im
Formula2 = 0.13251901094625096 - 0.13219682595483426im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.026635932145644012 + 0.13219682595483548im
Formula2 = 0.026635932145644386 + 0.13219682595483426im
-----------------------------------------------------------------
=================================================================
i = 43
lambda = 3.917712171647004 + 30.298245240910575im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -8.155796653812708e-20 + 2.9553240617369874e-20im
Formula2 = -8.15579665381272e-20 + 2.955324061737006e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957684902533149 - 0.13783217674900167im
Formula2 = 0.07957684902533156 - 0.1378321767490017im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957809406656385 + 0.1378321767490016im
Formula2 = 0.07957809406656378 + 0.1378321767490017im
-----------------------------------------------------------------
=================================================================
i = 44
lambda = -0.825715971214521 + 39.93618512156377im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.584398558837393e-27 - 1.263143862179197e-27im
Formula2 = 2.5843985588373845e-27 - 1.2631438621792146e-27im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747178222502 - 0.13783222397216674im
Formula2 = 0.07957747178222509 - 0.13783222397216677im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747130967033 + 0.13783222397216668im
Formula2 = 0.07957747130967026 + 0.13783222397216677im
-----------------------------------------------------------------
=================================================================
i = 45
lambda = -40.98420944849927 + 30.85454698041997im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 4.701900473535586e-15 - 1.1768829263570999e-14im
Formula2 = 4.701900473535622e-15 - 1.1768829263571269e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.159154943445028 - 5.024255730542575e-10im
Formula2 = 0.159154943445028 - 5.024255730525634e-10im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.5313736788361834e-10 + 5.0243734188355e-10im
Formula2 = -3.5313736788361994e-10 + 5.024373418835594e-10im
-----------------------------------------------------------------
=================================================================
i = 46
lambda = 41.50426171211788 - 10.60895635924679im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915521720026662 + 1.945865899677465e-6im
Formula2 = 0.15915521720026662 + 1.9458658996775056e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.520536436655316e-24 + 1.5905431714833481e-24im
Formula2 = 4.520536436655327e-24 + 1.5905431714833448e-24im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.7410837129392983e-7 - 1.945865899677464e-6im
Formula2 = -2.741083712939378e-7 - 1.9458658996775056e-6im
-----------------------------------------------------------------
=================================================================
i = 47
lambda = -17.438735328736676 - 28.02438471826121im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591549430919377 - 1.9762047765358934e-14im
Formula2 = 0.1591549430919377 - 1.9762047765358934e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.235848424463321e-14 + 1.9762047410410048e-14im
Formula2 = -4.235848424463284e-14 + 1.9762047410410395e-14im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 8.594646794748306e-27 - 1.9719220784385285e-26im
Formula2 = 8.594646794748333e-27 - 1.9719220784385377e-26im
-----------------------------------------------------------------
=================================================================
i = 48
lambda = 29.02049330896088 + 42.10620391841037im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -3.0795060226928336e-20 + 1.6053207225037496e-19im
Formula2 = -3.079506022692469e-20 + 1.60532072250374e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.005102864887328292 + 0.0016029071157936741im
Formula2 = 0.005102864887328323 + 0.001602907115793563im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15405207820456704 - 0.0016029071157936741im
Formula2 = 0.154052078204567 - 0.0016029071157935633im
-----------------------------------------------------------------
=================================================================
i = 49
lambda = 3.438332806978984 - 3.490174538344391im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15873487346838086 + 0.0026848288751683477im
Formula2 = 0.15873487346838086 + 0.0026848288751683525im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.3062932919405756e-5 + 4.3873122508860646e-5im
Formula2 = 2.3062932919405773e-5 + 4.3873122508860666e-5im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0003970066905950767 - 0.0027287019976772083im
Formula2 = 0.00039700669059507547 - 0.0027287019976772135im
-----------------------------------------------------------------
=================================================================
i = 50
lambda = -8.635628023182917 + 29.15673690201983im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.4468891259930455e-17 - 1.4756943347038014e-17im
Formula2 = -2.446889125993041e-17 - 1.4756943347038014e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07959544692435011 - 0.1378954156006503im
Formula2 = 0.07959544692435017 - 0.1378954156006503im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07955949616754528 + 0.13789541560065025im
Formula2 = 0.0795594961675452 + 0.13789541560065033im
-----------------------------------------------------------------
=================================================================
i = 51
lambda = 48.66519871269806 + 10.153451725019401im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.0547806580097733e-5 + 6.5123853474318225e-6im
Formula2 = -1.0547806580097431e-5 + 6.5123853474318115e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.9995168869759676e-17 - 1.5603855784258786e-17im
Formula2 = 1.999516886975913e-17 - 1.560385578425883e-17im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15916549089847543 - 6.5123853474162184e-6im
Formula2 = 0.15916549089847543 - 6.5123853474162074e-6im
-----------------------------------------------------------------
=================================================================
i = 52
lambda = -1.5788912951478338 + 35.193688440965374im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -6.689247260440758e-24 + 2.3204231770917143e-24im
Formula2 = -6.689247260440746e-24 + 2.3204231770917202e-24im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957746443291525 - 0.13783222536066717im
Formula2 = 0.0795774644329153 - 0.1378322253606672im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747865898011 + 0.1378322253606671im
Formula2 = 0.07957747865898003 + 0.1378322253606672im
-----------------------------------------------------------------
=================================================================
i = 53
lambda = 38.23342708378617 - 0.002132802284094737im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.12702618085290512 - 0.06303709338364862im
Formula2 = 0.12702618085290468 - 0.06303709338364946im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.8006436201646072e-16 + 5.611112746137849e-16im
Formula2 = -1.8006436201646035e-16 + 5.611112746137847e-16im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.03212876223899038 + 0.06303709338364805im
Formula2 = 0.032128762238990825 + 0.0630370933836489im
-----------------------------------------------------------------
=================================================================
i = 54
lambda = -27.266685341026943 - 44.50198849095215im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.6940658945086007e-21im
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 3.3281500746491167e-21 + 6.141422556477945e-23im
Formula2 = 3.3281500746490907e-21 + 6.14142255647174e-23im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.511160534760106e-41 - 5.342644839273883e-41im
Formula2 = 6.511160534760118e-41 - 5.342644839273879e-41im
-----------------------------------------------------------------
=================================================================
i = 55
lambda = -3.812251170761826 - 43.77647701984737im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 - 1.6940658945086007e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.2348678885646448e-29 + 1.2924841901262728e-28im
Formula2 = -2.234867888564649e-29 + 1.292484190126273e-28im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.714546160014082e-31 - 4.7444010241626297e-32im
Formula2 = -1.714546160014082e-31 - 4.744401024162642e-32im
-----------------------------------------------------------------
=================================================================
i = 56
lambda = -28.633869889371198 + 12.956558719427093im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.2273264990044625e-7 - 7.413379396094609e-7im
Formula2 = 1.2273264990044535e-7 - 7.413379396094696e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1591548175387309 + 7.43447993624278e-7im
Formula2 = 0.1591548175387309 + 7.434479936242864e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.820514530150647e-9 - 2.110054014816321e-9im
Formula2 = 2.8205145301506874e-9 - 2.11005401481635e-9im
-----------------------------------------------------------------
=================================================================
i = 57
lambda = 15.498275798758868 + 40.13833756285041im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -7.004471121833788e-22 - 3.0618710318299844e-22im
Formula2 = -7.004471121833778e-22 - 3.061871031829946e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07958759995327724 - 0.1379350439610996im
Formula2 = 0.0795875999532773 - 0.13793504396109962im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07956734313861812 + 0.13793504396109954im
Formula2 = 0.07956734313861803 + 0.13793504396109962im
-----------------------------------------------------------------
=================================================================
i = 58
lambda = 24.559600141207127 + 42.98593510039517im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.550098587539737e-20 + 3.527164740316689e-20im
Formula2 = 2.5500985875397248e-20 + 3.527164740316709e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.16463503437837157 - 0.1931281998051688im
Formula2 = 0.16463503437837368 - 0.19312819980516704im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.005480091286476182 + 0.1931281998051687im
Formula2 = -0.005480091286478339 + 0.19312819980516704im
-----------------------------------------------------------------
=================================================================
i = 59
lambda = 31.788696614624754 + 29.837533903595272im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -5.264936739413259e-15 - 3.4643077572600475e-14im
Formula2 = -5.264936739413775e-15 - 3.4643077572600083e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.0490698366922507e-6 - 1.6230645033816918e-7im
Formula2 = -1.0490698366922456e-6 - 1.6230645033815275e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.1591559921617373 + 1.6230648498124678e-7im
Formula2 = 0.1591559921617373 + 1.6230648498122957e-7im
-----------------------------------------------------------------
=================================================================
i = 60
lambda = -3.1726611683521497 + 26.489121384622294im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -7.005547471635116e-19 + 1.380905845258051e-17im
Formula2 = -7.005547471635565e-19 + 1.3809058452580572e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957565788246829 - 0.1378334707016316im
Formula2 = 0.07957565788246834 - 0.1378334707016316im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957928520942707 + 0.13783347070163152im
Formula2 = 0.07957928520942699 + 0.1378334707016316im
-----------------------------------------------------------------
=================================================================
i = 61
lambda = 41.71503771345529 + 42.89673913527167im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.5648953925839217e-20 + 7.010583894161152e-20im
Formula2 = -2.564895392583717e-20 + 7.010583894161153e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.231658362173381e-7 - 5.3725098965135106e-8im
Formula2 = 1.231658362173352e-7 - 5.372509896513702e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15915481992605912 + 5.372509896506508e-8im
Formula2 = 0.15915481992605912 + 5.37250989650672e-8im
-----------------------------------------------------------------
=================================================================
i = 62
lambda = -14.311732074204663 + 44.02786234670164im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 3.335858391028774e-25 + 7.269692264891458e-25im
Formula2 = 3.3358583910287823e-25 + 7.269692264891481e-25im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957607230578369 - 0.13782712754429968im
Formula2 = 0.07957607230578376 - 0.1378271275442997im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957887078611166 + 0.13782712754429963im
Formula2 = 0.07957887078611159 + 0.1378271275442997im
-----------------------------------------------------------------
=================================================================
i = 63
lambda = 47.33124694037534 - 26.68247759251823im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309183142 + 1.952759666885547e-13im
Formula2 = 0.15915494309183142 + 1.9527596478273056e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 7.516800705283223e-37 - 7.2202369293546945e-37im
Formula2 = 7.516800705283171e-37 - 7.2202369293546134e-37im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.3898879662711e-14 - 1.9527596498313016e-13im
Formula2 = 6.389887966271111e-14 - 1.9527596498313351e-13im
-----------------------------------------------------------------
=================================================================
i = 64
lambda = 34.067874893329304 - 19.684975076565348im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591549429011769 + 1.1892176871853807e-10im
Formula2 = 0.1591549429011769 + 1.1892176872023213e-10im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 3.2167325299838996e-27 + 1.7715168930348653e-27im
Formula2 = 3.2167325299839096e-27 + 1.771516893034851e-27im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.9071843420972573e-10 - 1.189217687170815e-10im
Formula2 = 1.9071843420972803e-10 - 1.1892176871708406e-10im
-----------------------------------------------------------------
=================================================================
i = 65
lambda = 9.524759580258312 + 26.267118862458545im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 6.610162928581531e-16 + 4.6424680704180216e-15im
Formula2 = 6.610162928581488e-16 + 4.642468070418041e-15im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07914505581139375 - 0.13741708685683793im
Formula2 = 0.0791450558113938 - 0.13741708685683796im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.08000988728050094 + 0.13741708685683324im
Formula2 = 0.08000988728050087 + 0.13741708685683332im
-----------------------------------------------------------------
=================================================================
i = 66
lambda = -42.384664657090724 - 26.54345771835793im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309209657 - 1.2349880300810585e-13im
Formula2 = 0.15915494309209657 - 1.2349880470217175e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.0123519107323221e-13 + 1.2349880322267478e-13im
Formula2 = -2.0123519107322843e-13 + 1.2349880322267615e-13im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 9.01939453633036e-35 - 2.3127951563242827e-35im
Formula2 = 9.019394536330426e-35 - 2.312795156324288e-35im
-----------------------------------------------------------------
=================================================================
i = 67
lambda = -46.26580059269485 - 7.788048559312919im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15912254002717877 - 6.2004872257530715e-6im
Formula2 = 0.15912254002717877 - 6.2004872257527394e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 3.240306471656077e-5 + 6.2004872257530715e-6im
Formula2 = 3.240306471656027e-5 + 6.200487225752739e-6im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -5.252124413415009e-24 + 9.440057887583084e-25im
Formula2 = -5.252124413414993e-24 + 9.440057887583416e-25im
-----------------------------------------------------------------
=================================================================
i = 68
lambda = 34.16168923654726 - 14.2998244863646im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915490410112165 + 2.9725173854158667e-8im
Formula2 = 0.15915490410112165 + 2.9725173854158667e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.3620685054389605e-24 + 9.998328965049671e-24im
Formula2 = -4.362068505438932e-24 + 9.998328965049644e-24im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.899077368867507e-8 - 2.9725173854158822e-8im
Formula2 = 3.8990773688675524e-8 - 2.9725173854159236e-8im
-----------------------------------------------------------------
=================================================================
i = 69
lambda = -17.301855163799495 + 24.72973283657771im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -6.0506654711267356e-12 - 2.9251115617767727e-12im
Formula2 = -6.0506654711268156e-12 - 2.925111561776751e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1798133682546144 + 0.017251812467613932im
Formula2 = 0.1798133682546147 + 0.017251812467613883im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.020658425156668384 - 0.01725181246468881im
Formula2 = -0.020658425156668686 - 0.017251812464688772im
-----------------------------------------------------------------
=================================================================
i = 70
lambda = -34.255145366113695 + 42.75538523404934im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 6.319520809284498e-20 - 5.83217138397333e-20im
Formula2 = 6.319520809284507e-20 - 5.832171383973519e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1592314273982721 - 2.3654395471934315e-5im
Formula2 = 0.1592314273982721 - 2.3654395471935718e-5im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -7.648430637674671e-5 + 2.3654395471934386e-5im
Formula2 = -7.648430637674745e-5 + 2.3654395471935775e-5im
-----------------------------------------------------------------
=================================================================
i = 71
lambda = -29.496987917645413 + 39.15702499276436im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.0370954660400253e-18 - 2.4097834356782243e-18im
Formula2 = -2.0370954660400827e-18 - 2.4097834356782463e-18im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1598795456735331 + 0.00038246015255666716im
Formula2 = 0.1598795456735331 + 0.000382460152556662im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.0007246025816377685 - 0.00038246015255666445im
Formula2 = -0.0007246025816377775 - 0.00038246015255665963im
-----------------------------------------------------------------
=================================================================
i = 72
lambda = -27.315368740551914 + 15.502370062710952im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 5.86899052768332e-8 - 5.191827448828191e-9im
Formula2 = 5.868990527683388e-8 - 5.191827448828333e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915486000550425 - 2.5753952933033544e-8im
Formula2 = 0.15915486000550425 - 2.5753952933038626e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.439648582590671e-8 + 3.0945780381864906e-8im
Formula2 = 2.439648582590702e-8 + 3.0945780381865105e-8im
-----------------------------------------------------------------
=================================================================
i = 73
lambda = -12.168204196798229 - 24.857872996039234im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309207057 + 2.426364163299159e-13im
Formula2 = 0.15915494309207057 + 2.426364163299159e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.7524018816588827e-13 - 2.426364158442445e-13im
Formula2 = -1.752401881658889e-13 - 2.4263641584424413e-13im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.0534392714643654e-22 + 1.6483534506580326e-22im
Formula2 = 2.0534392714643675e-22 + 1.6483534506580373e-22im
-----------------------------------------------------------------
=================================================================
i = 74
lambda = 8.375124797843483 - 4.349314092128466im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15813663915628318 - 3.937485302116057e-6im
Formula2 = 0.15813663915628318 - 3.937485302115752e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.3275836968279055e-7 + 9.615913917487834e-8im
Formula2 = 1.3275836968279068e-7 + 9.61591391748783e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0010181711772424642 + 3.841326162941177e-6im
Formula2 = 0.0010181711772424683 + 3.841326162940873e-6im
-----------------------------------------------------------------
=================================================================
i = 75
lambda = -28.937139347734963 + 38.693246635729636im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -7.256580651212725e-19 - 4.953339922262108e-18im
Formula2 = -7.256580651213659e-19 - 4.953339922262182e-18im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.16018689674212555 - 0.0002085862588419419im
Formula2 = 0.16018689674212555 - 0.00020858625884195793im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.0010319536502302006 + 0.0002085862588419471im
Formula2 = -0.0010319536502302047 + 0.0002085862588419629im
-----------------------------------------------------------------
=================================================================
i = 76
lambda = -2.800122573396635 - 43.56821118953611im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 8.470329472543003e-22im
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 7.454414897533206e-29 + 3.241692933896011e-30im
Formula2 = 7.454414897533209e-29 + 3.2416929338960324e-30im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.8154963408207985e-31 + 5.118073690232509e-31im
Formula2 = -2.8154963408208024e-31 + 5.118073690232508e-31im
-----------------------------------------------------------------
=================================================================
i = 77
lambda = 27.903694400735574 - 41.428381397266904im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 5.082197683525802e-20im
Formula2 = 0.15915494309189535 + 5.082197683525802e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.9578423276203007e-39 - 1.65225362267845e-39im
Formula2 = -4.9578423276203157e-39 - 1.6522536226784435e-39im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.448526005258514e-20 - 5.080959030658572e-20im
Formula2 = 6.448526005258538e-20 - 5.08095903065876e-20im
-----------------------------------------------------------------
=================================================================
i = 78
lambda = 15.422164635920183 - 39.423885315445894im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 8.470329472543003e-22im
Formula2 = 0.15915494309189535 + 1.6940658945086007e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.514936451009979e-33 + 2.6879758456681547e-33im
Formula2 = 4.514936451009979e-33 + 2.6879758456681567e-33im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.98356569353602e-21 - 6.652741064544135e-22im
Formula2 = -1.98356569353602e-21 - 6.652741064544149e-22im
-----------------------------------------------------------------
=================================================================
i = 79
lambda = 49.56965061628354 + 6.85472596706127im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.00031567936664027817 - 0.00011598129205952628im
Formula2 = -0.00031567936664027275 - 0.00011598129205952153im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.8158718519299174e-19 + 2.1983963039680034e-18im
Formula2 = -3.815871851929529e-19 + 2.1983963039679703e-18im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.1594706224585356 + 0.00011598129205952408im
Formula2 = 0.1594706224585356 + 0.00011598129205951934im
-----------------------------------------------------------------
=================================================================
i = 80
lambda = -18.866906245730664 + 13.326379676159263im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.5169224050040427e-7 + 4.5396172768480866e-7im
Formula2 = -2.516922405004055e-7 + 4.5396172768481236e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15914573771742746 - 1.8051696301821184e-5im
Formula2 = 0.15914573771742746 - 1.805169630182127e-5im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 9.45706670838484e-6 + 1.7597734574136366e-5im
Formula2 = 9.457066708384962e-6 + 1.759773457413646e-5im
-----------------------------------------------------------------
=================================================================
i = 81
lambda = 17.908517345535955 - 39.74372938030002im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 8.470329472543003e-21im
Formula2 = 0.15915494309189535 + 6.776263578034403e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.6963148837140516e-34 - 7.491197059857493e-35im
Formula2 = -3.6963148837140534e-34 - 7.491197059857514e-35im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 9.683369783905266e-21 - 6.0100328897388915e-21im
Formula2 = 9.683369783905273e-21 - 6.010032889738882e-21im
-----------------------------------------------------------------
=================================================================
i = 82
lambda = -0.19828323622623856 + 15.325306716136524im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -3.077685831675007e-11 + 7.437617168151514e-12im
Formula2 = -3.0776858316750125e-11 + 7.437617168151478e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957257138425107 - 0.1377822576570453im
Formula2 = 0.07957257138425113 - 0.13778225765704533im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07958237173842114 + 0.13778225764960764im
Formula2 = 0.07958237173842106 + 0.1377822576496077im
-----------------------------------------------------------------
=================================================================
i = 83
lambda = 40.00675607797406 + 41.25216123764133im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 3.7784552485387644e-19 + 8.181911037961479e-20im
Formula2 = 3.7784552485387263e-19 + 8.18191103796057e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -7.568635349451256e-8 + 2.479445965267886e-7im
Formula2 = -7.568635349450489e-8 + 2.4794459652678904e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15915501877824884 - 2.4794459652686993e-7im
Formula2 = 0.15915501877824884 - 2.479445965268708e-7im
-----------------------------------------------------------------
=================================================================
i = 84
lambda = 27.39869967513073 + 38.73529413490482im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 4.651453810119468e-18 + 9.17906342509365e-19im
Formula2 = 4.651453810119467e-18 + 9.1790634250929e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -0.002343583609843927 - 0.0032721035349468023im
Formula2 = -0.0023435836098439434 - 0.0032721035349467234im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.16149852670173925 + 0.0032721035349468006im
Formula2 = 0.16149852670173928 + 0.0032721035349467225im
-----------------------------------------------------------------
=================================================================
i = 85
lambda = -7.4660912672053215 - 13.849296768353739im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915489822840165 + 2.1513038539597887e-8im
Formula2 = 0.15915489822840165 + 2.1513038539600428e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.4863750820248624e-8 - 2.1513129123706803e-8im
Formula2 = 4.48637508202486e-8 - 2.1513129123707038e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.5713263069907847e-13 + 9.058410675138033e-14im
Formula2 = -2.5713263069907877e-13 + 9.058410675138074e-14im
-----------------------------------------------------------------
=================================================================
i = 86
lambda = 28.208039089948358 - 40.88259413450541im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.1858461261560205e-19im
Formula2 = 0.15915494309189535 + 1.1604351377383915e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -7.465997584930363e-39 + 5.267381970813013e-39im
Formula2 = -7.465997584930356e-39 + 5.2673819708130085e-39im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 7.88139047307108e-20 - 1.1705671952978126e-19im
Formula2 = 7.881390473071022e-20 - 1.170567195297839e-19im
-----------------------------------------------------------------
=================================================================
i = 87
lambda = 8.484871146866801 - 42.60011992425661im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.6940658945086007e-21im
Formula2 = 0.15915494309189535 - 1.6940658945086007e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 7.794528587581516e-33 + 1.640049452724221e-32im
Formula2 = 7.794528587581513e-33 + 1.640049452724222e-32im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 5.322510001348012e-27 - 4.348512802184227e-26im
Formula2 = 5.322510001348041e-27 - 4.3485128021842274e-26im
-----------------------------------------------------------------
=================================================================
i = 88
lambda = -13.950772702225422 + 35.58508904420388im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.68099379398012e-19 + 7.761857089962228e-20im
Formula2 = -1.680993793980122e-19 + 7.761857089962324e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07931509013122746 - 0.13780712409116347im
Formula2 = 0.07931509013122752 - 0.1378071240911635im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0798398529606679 + 0.1378071240911634im
Formula2 = 0.07983985296066781 + 0.1378071240911635im
-----------------------------------------------------------------
=================================================================
i = 89
lambda = -35.709650699548234 - 9.563537597328953im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591582296190178 - 4.521749584107685e-6im
Formula2 = 0.1591582296190178 - 4.5217495841076525e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.2865271224641263e-6 + 4.521749584107688e-6im
Formula2 = -3.2865271224640382e-6 + 4.521749584107656e-6im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -9.30007346997583e-22 - 3.3484744522420525e-21im
Formula2 = -9.300073469975863e-22 - 3.3484744522420398e-21im
-----------------------------------------------------------------
=================================================================
i = 90
lambda = 5.131977372421282 - 45.983880030415314im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 8.470329472543003e-22im
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.9522562117702207e-33 + 6.8593596236582896e-34im
Formula2 = -1.9522562117702214e-33 + 6.859359623658286e-34im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.1944772683925783e-29 + 9.078829745018573e-30im
Formula2 = 1.1944772683925779e-29 + 9.078829745018581e-30im
-----------------------------------------------------------------
=================================================================
i = 91
lambda = 0.7166413296129761 + 7.441486334804793im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -3.6448059829157863e-6 - 1.9598427575870915e-6im
Formula2 = -3.6448059829157863e-6 - 1.959842757587094e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.08165689993597888 - 0.13621341472377294im
Formula2 = 0.08165689993597894 - 0.13621341472377294im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0775016879618994 + 0.13621537456653046im
Formula2 = 0.07750168796189932 + 0.13621537456653052im
-----------------------------------------------------------------
=================================================================
i = 92
lambda = 47.27259867623471 - 41.981526160469215im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 4.404571325722362e-20im
Formula2 = 0.15915494309189535 + 4.404571325722362e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.1846654696306432e-46 + 6.740012495808837e-49im
Formula2 = 1.1846654696306395e-46 + 6.740012495808399e-49im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.7065846593765334e-20 - 4.336943211948096e-20im
Formula2 = 1.7065846593765027e-20 - 4.336943211948198e-20im
-----------------------------------------------------------------
=================================================================
i = 93
lambda = 17.48025596385976 - 18.507139585037603im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494378476777 + 2.3190456808225442e-10im
Formula2 = 0.15915494378476777 + 2.3190456808204266e-10im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.681687124167888e-20 - 2.5826011179547284e-20im
Formula2 = 2.68168712416788e-20 - 2.5826011179547146e-20im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -6.928724484209678e-10 - 2.3190456805622318e-10im
Formula2 = -6.928724484209736e-10 - 2.3190456805622083e-10im
-----------------------------------------------------------------
=================================================================
i = 94
lambda = -14.453294161641296 - 37.74103029059512im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 8.470329472543003e-22im
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.1181644927151503e-20 - 1.0096177005546481e-21im
Formula2 = 1.1181644927151506e-20 - 1.009617700554646e-21im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.2986765670984438e-31 - 7.713599013011632e-32im
Formula2 = 1.2986765670984447e-31 - 7.713599013011626e-32im
-----------------------------------------------------------------
=================================================================
i = 95
lambda = -42.91726749384057 + 7.681354497350476im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.00014696432329669093 - 2.623382067697316e-6im
Formula2 = -0.00014696432329669326 - 2.6233820676976744e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1593019074151924 + 2.6233820666954243e-6im
Formula2 = 0.1593019074151924 + 2.6233820666957818e-6im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.7730215625722024e-16 + 1.0018931165857442e-15im
Formula2 = -3.773021562572273e-16 + 1.0018931165857617e-15im
-----------------------------------------------------------------
=================================================================
i = 96
lambda = 21.875125210984066 - 39.19079429913211im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.5754812818929986e-19im
Formula2 = 0.15915494309189535 + 1.6601845766184287e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.1754260227427286e-35 - 8.631475858139246e-36im
Formula2 = -1.175426022742731e-35 - 8.631475858139009e-36im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.41656297926418e-19 - 1.5927994392971138e-19im
Formula2 = 4.416562979264218e-19 - 1.5927994392971523e-19im
-----------------------------------------------------------------
=================================================================
i = 97
lambda = -30.61945269077566 + 15.5903829711105im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -5.226814799222318e-8 + 1.3386555352919965e-8im
Formula2 = -5.226814799222379e-8 + 1.3386555352920314e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915499741512285 - 1.4536452955767537e-8im
Formula2 = 0.15915499741512285 - 1.4536452955764148e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.05507952652776e-9 + 1.1498976028434886e-9im
Formula2 = -2.0550795265277775e-9 + 1.1498976028435167e-9im
-----------------------------------------------------------------
=================================================================
i = 98
lambda = 24.03635621475277 - 9.34029976123778im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15916192289056297 + 3.436110886121219e-7im
Formula2 = 0.15916192289056297 + 3.4361108861211934e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.1371745980397853e-16 + 3.626872974246303e-17im
Formula2 = 1.1371745980397927e-16 + 3.6268729742463066e-17im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -6.979798667754418e-6 - 3.436110886483904e-7im
Formula2 = -6.979798667754509e-6 - 3.4361108864838643e-7im
-----------------------------------------------------------------
=================================================================
i = 99
lambda = 6.515220979253058 - 31.551037144852103im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.2451384324638215e-19im
Formula2 = 0.15915494309189535 + 1.1858461261560205e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.1030377722699032e-24 + 1.126523850246479e-24im
Formula2 = 1.1030377722699032e-24 + 1.1265238502464795e-24im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 9.86202744523311e-21 - 1.251085097822181e-19im
Formula2 = 9.862027445233194e-21 - 1.2510850978221812e-19im
-----------------------------------------------------------------
=================================================================
i = 100
lambda = 46.29632781924367 + 48.8609870177016im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.8716838676249372e-22 + 4.1782902557508513e-23im
Formula2 = 1.8716838676249256e-22 + 4.178290255750276e-23im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -6.607391483903855e-10 - 5.015641546424865e-8im
Formula2 = -6.607391483914646e-10 - 5.015641546424793e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15915494375263448 + 5.0156415464249374e-8im
Formula2 = 0.15915494375263448 + 5.0156415464249374e-8im
-----------------------------------------------------------------
=================================================================
Out[182]:
true
In [183]:
test_formula(FMinusFormula, FMinusSymGeneric)
i = 1
lambda = -12.506898186998463 - 2.456569467749148im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.0036281321732329285 + 0.005965302760944718im
Formula2 = 0.003628132173232933 + 0.005965302760944717im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -0.0036281784295734824 - 0.005965369055795288im
Formula2 = -0.0036281784295734863 - 0.005965369055795287im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.625634055350504e-8 + 6.62948505698162e-8im
Formula2 = 4.625634055350513e-8 + 6.629485056981612e-8im
-----------------------------------------------------------------
=================================================================
i = 2
lambda = 31.55349386156115 + 49.85736624266357im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189615 - 3.333634536223807e-15im
Formula2 = -0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.00632846906902807 - 0.023823391725999985im
Formula2 = 0.0063284690690276375 - 0.023823391726000124im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15282647402286806 + 0.02382339172600331im
Formula2 = 0.1528264740228677 + 0.023823391726000124im
-----------------------------------------------------------------
=================================================================
i = 3
lambda = 15.061226496802973 + 12.591384478459311im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915394364352656 + 4.2146192070117985e-7im
Formula2 = -0.15915394364352595 + 4.214619215002885e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.1274846296348374e-5 + 0.00037197884636821864im
Formula2 = 4.1274846296351017e-5 + 0.000371978846368217im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.1591126687972302 - 0.0003724003082889197im
Formula2 = 0.1591126687972296 - 0.0003724003082897173im
-----------------------------------------------------------------
=================================================================
i = 4
lambda = 49.33360033359044 + 21.23537775910158im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.159154943281372 - 2.194918781589641e-11im
Formula2 = -0.15915494328136898 - 2.1946598390436875e-11im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.4163377450355795e-15 + 3.3357933271205854e-15im
Formula2 = -1.4163377450355108e-15 + 3.335793327120559e-15im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15915494328137342 + 2.1945852021849687e-11im
Formula2 = 0.1591549432813704 + 2.1943262597131306e-11im
-----------------------------------------------------------------
=================================================================
i = 5
lambda = -28.687889415826916 + 12.631159434862973im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915482882535073 - 1.034122032967395e-6im
Formula2 = -0.15915482882535265 - 1.034122032429828e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1591548270430646 + 1.0363545881135977e-6im
Formula2 = 0.1591548270430665 + 1.0363545875760286e-6im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.7822861383314444e-9 - 2.2325551462021327e-9im
Formula2 = 1.7822861383314702e-9 - 2.2325551462021633e-9im
-----------------------------------------------------------------
=================================================================
i = 6
lambda = -43.909101625054326 + 31.100047724451457im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189776 + 6.738256574416392e-15im
Formula2 = -0.1591549430919009 + 8.200701944773015e-15im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1591549431334668 + 3.622436437971009e-11im
Formula2 = 0.15915494313346992 + 3.622290193624556e-11im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -4.1569021641347885e-11 - 3.6231102635308544e-11im
Formula2 = -4.156902164134871e-11 - 3.623110263530878e-11im
-----------------------------------------------------------------
=================================================================
i = 7
lambda = -22.042994534502714 - 21.718950366494425im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.3361213936185973e-11 - 2.619399512511319e-11im
Formula2 = -1.3361213936186009e-11 - 2.6193995125113234e-11im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.3361213936185291e-11 + 2.619399512511894e-11im
Formula2 = 1.3361213936185327e-11 + 2.6193995125118982e-11im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.82146819761443e-25 - 5.7492704806109654e-24im
Formula2 = 6.821468197614367e-25 - 5.749270480610988e-24im
-----------------------------------------------------------------
=================================================================
i = 8
lambda = -30.420450414264046 + 13.653858289457155im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915531675023217 + 1.9343439868154237e-8im
Formula2 = -0.15915531675023392 + 1.934344012009233e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915531605292726 - 2.0145051823790018e-8im
Formula2 = 0.159155316052929 - 2.0145052075727686e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.973049029522215e-10 + 8.016119556353834e-10im
Formula2 = 6.973049029522315e-10 + 8.016119556353896e-10im
-----------------------------------------------------------------
=================================================================
i = 9
lambda = -22.473549742836507 + 28.35426867989898im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309188782 - 1.5655304658835972e-13im
Formula2 = -0.15915494309189013 - 1.553717820634154e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1607514802363207 + 0.0002902749339306485im
Formula2 = 0.160751480236323 + 0.0002902749339294521im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.0015965371444328527 - 0.0002902749337740949im
Formula2 = -0.0015965371444328668 - 0.00029027493377408034im
-----------------------------------------------------------------
=================================================================
i = 10
lambda = -18.205655208451944 + 41.54277768340968im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189532 - 2.65121312490596e-19im
Formula2 = -0.15915494309189535 - 1.6940658945086007e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07933608044216313 - 0.13735742991400585im
Formula2 = 0.0793360804421632 - 0.13735742991400587im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07981886264973222 + 0.1373574299140058im
Formula2 = 0.07981886264973213 + 0.13735742991400587im
-----------------------------------------------------------------
=================================================================
i = 11
lambda = 16.685079155829442 + 8.74003819879698im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15917725652925926 + 4.580472793449815e-5im
Formula2 = -0.15917725652925838 + 4.580472793528094e-5im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -8.874887201413213e-6 - 9.967453742301386e-6im
Formula2 = -8.874887201413206e-6 - 9.967453742301298e-6im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15918613141646068 - 3.583727419219677e-5im
Formula2 = 0.1591861314164598 - 3.5837274192979644e-5im
-----------------------------------------------------------------
=================================================================
i = 12
lambda = 49.96403169882528 - 32.99608887649226im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.7340769658256873e-16 - 2.5254212871945715e-16im
Formula2 = 2.7340769658256883e-16 - 2.52542128719457e-16im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 5.995232585818326e-42 + 5.6221322024591844e-42im
Formula2 = 5.995232585818326e-42 + 5.622132202459179e-42im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.7340769658256873e-16 + 2.5254212871945715e-16im
Formula2 = -2.7340769658256883e-16 + 2.52542128719457e-16im
-----------------------------------------------------------------
=================================================================
i = 13
lambda = 44.845526856163985 + 9.765571782519977im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591488553219801 - 1.722417089083943e-5im
Formula2 = -0.15914885532197778 - 1.722417088949717e-5im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -7.101206592125843e-18 + 5.708386298866926e-16im
Formula2 = -7.101206592121441e-18 + 5.708386298866826e-16im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.1591488553219801 + 1.722417089026859e-5im
Formula2 = 0.1591488553219778 + 1.722417088892633e-5im
-----------------------------------------------------------------
=================================================================
i = 14
lambda = -44.895531032564875 - 35.93133841515033im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -7.509677575941626e-18 + 1.8288255262219396e-17im
Formula2 = -7.509677575941592e-18 + 1.8288255262219334e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 7.509677575941626e-18 - 1.8288255262219396e-17im
Formula2 = 7.509677575941592e-18 - 1.8288255262219334e-17im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -7.896458450561294e-43 + 8.070821690806349e-42im
Formula2 = -7.896458450561087e-43 + 8.070821690806354e-42im
-----------------------------------------------------------------
=================================================================
i = 15
lambda = 46.98840790711674 + 23.612465001399556im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591549430810562 + 1.399398707252433e-11im
Formula2 = -0.15915494308105319 + 1.3996494135676447e-11im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.222668236053771e-14 + 8.022637760853561e-14im
Formula2 = 4.2226682360538285e-14 + 8.022637760853386e-14im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15915494308101397 - 1.407421344861655e-11im
Formula2 = 0.15915494308101097 - 1.407672051272158e-11im
-----------------------------------------------------------------
=================================================================
i = 16
lambda = 16.898188716140112 - 28.62252285176572im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.2226497142022431e-14 + 1.809275062494327e-14im
Formula2 = 1.2226497142022355e-14 + 1.8092750624943276e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -9.369974511121e-27 + 9.618722295355343e-27im
Formula2 = -9.36997451112096e-27 + 9.618722295355244e-27im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.2226497142013061e-14 - 1.8092750624952887e-14im
Formula2 = -1.2226497142012985e-14 - 1.8092750624952893e-14im
-----------------------------------------------------------------
=================================================================
i = 17
lambda = -43.88658097066192 - 35.07772581059394im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.694714472890808e-17 + 3.780064178570321e-17im
Formula2 = 2.6947144728908327e-17 + 3.780064178570324e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.694714472890808e-17 - 3.780064178570321e-17im
Formula2 = -2.6947144728908327e-17 - 3.780064178570324e-17im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.3776571385698226e-41 + 5.450754852032389e-41im
Formula2 = 4.3776571385698537e-41 + 5.450754852032394e-41im
-----------------------------------------------------------------
=================================================================
i = 18
lambda = -8.799738533586002 + 33.99549395323953im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 - 8.978549240895584e-20im
Formula2 = -0.15915494309189535 - 1.6093625997831706e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.0795825504836619 - 0.13782779883139254im
Formula2 = 0.07958255048366197 - 0.13782779883139257im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957239260823344 + 0.13782779883139248im
Formula2 = 0.07957239260823337 + 0.13782779883139257im
-----------------------------------------------------------------
=================================================================
i = 19
lambda = -36.96158011615487 - 25.48975363600572im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 6.450098429049589e-13 + 2.0637675640386738e-13im
Formula2 = 6.450098429049583e-13 + 2.0637675640386945e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -6.450098429049589e-13 - 2.0637675640386738e-13im
Formula2 = -6.450098429049583e-13 - 2.0637675640386945e-13im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.8422060034249723e-32 - 4.600621164350816e-32im
Formula2 = 1.8422060034249348e-32 - 4.6006211643508153e-32im
-----------------------------------------------------------------
=================================================================
i = 20
lambda = -40.414779606954234 + 14.8356792048383im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591548497748807 - 6.679924948346827e-8im
Formula2 = -0.15915484977488292 - 6.67992489499743e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915484977460345 + 6.679906291288058e-8im
Formula2 = 0.15915484977460567 + 6.679906237938704e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.772421416250005e-13 + 1.8657058741683181e-13im
Formula2 = 2.772421416250057e-13 + 1.8657058741683257e-13im
-----------------------------------------------------------------
=================================================================
i = 21
lambda = 33.10189549578621 - 34.82534169911837im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -5.483500072762643e-17 - 2.373021741403291e-17im
Formula2 = -5.483500072762642e-17 - 2.3730217414032928e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -9.294399571841645e-37 + 6.973153220983151e-37im
Formula2 = -9.294399571841695e-37 + 6.973153220983113e-37im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 5.483500072762643e-17 + 2.373021741403291e-17im
Formula2 = 5.483500072762642e-17 + 2.3730217414032928e-17im
-----------------------------------------------------------------
=================================================================
i = 22
lambda = 22.850030384765745 + 11.120500284552826im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915649366136206 + 4.450450710085508e-6im
Formula2 = -0.1591564936613609 + 4.45045071120207e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 8.431907995498964e-8 - 1.9301277497379588e-7im
Formula2 = 8.431907995498829e-8 - 1.9301277497379485e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.1591564093422821 - 4.257437935111714e-6im
Formula2 = 0.15915640934228092 - 4.257437936228277e-6im
-----------------------------------------------------------------
=================================================================
i = 23
lambda = -48.24609337609467 - 45.1911371137643im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.0602668591460709e-21 - 1.5544371311353987e-21im
Formula2 = 1.0602668591460666e-21 - 1.5544371311353938e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.0602668591460709e-21 + 1.5544371311353987e-21im
Formula2 = -1.0602668591460666e-21 + 1.5544371311353938e-21im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.0062149899852597e-49 - 4.011800951539296e-49im
Formula2 = 1.0062149899852166e-49 - 4.0118009515392755e-49im
-----------------------------------------------------------------
=================================================================
i = 24
lambda = -36.92603744924363 + 5.7727337582536435im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1601135907692844 + 0.0002713276523236695im
Formula2 = -0.16011359076928725 + 0.0002713276523231565im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1601135907693521 - 0.00027132765229323367im
Formula2 = 0.160113590769355 - 0.0002713276522927207im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -6.773316309227501e-14 - 3.043580198998921e-14im
Formula2 = -6.773316309227585e-14 - 3.0435801989989613e-14im
-----------------------------------------------------------------
=================================================================
i = 25
lambda = -28.292574169723107 - 7.982701904670073im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.315170627235904e-5 - 2.3762028802694866e-5im
Formula2 = -1.3151706272359092e-5 - 2.376202880269484e-5im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.3151706272346039e-5 + 2.3762028802675977e-5im
Formula2 = 1.3151706272346091e-5 + 2.376202880267595e-5im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.3000491833538013e-17 + 1.8887996155465643e-17im
Formula2 = 1.300049183353801e-17 + 1.888799615546556e-17im
-----------------------------------------------------------------
=================================================================
i = 26
lambda = 33.54441022474526 - 30.826500700866255im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -3.2565581114417184e-15 + 1.1105349111775525e-16im
Formula2 = -3.256558111441718e-15 + 1.11053491117754e-16im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.8534048936372436e-35 - 3.1843962583391304e-34im
Formula2 = -1.853404893637057e-35 - 3.1843962583391475e-34im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.2565581114417184e-15 - 1.1105349111775525e-16im
Formula2 = 3.256558111441718e-15 - 1.11053491117754e-16im
-----------------------------------------------------------------
=================================================================
i = 27
lambda = -25.248704654247646 - 30.60819756482369im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.6076439121801135e-15 + 3.7184914548772145e-15im
Formula2 = 1.6076439121801217e-15 + 3.718491454877211e-15im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.6076439121801133e-15 - 3.7184914548772145e-15im
Formula2 = -1.6076439121801216e-15 - 3.718491454877211e-15im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.1102735030892984e-31 + 5.436380800554402e-31im
Formula2 = -2.110273503089296e-31 + 5.436380800554394e-31im
-----------------------------------------------------------------
=================================================================
i = 28
lambda = -15.041789721974787 - 33.02596677572198im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.2954019179824037e-17 - 4.2081491970274935e-18im
Formula2 = 2.2954019179824185e-17 - 4.208149197027143e-18im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.2954019179795937e-17 + 4.208149197137266e-18im
Formula2 = -2.2954019179796088e-17 + 4.208149197136916e-18im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.809751310498167e-29 - 1.0977262944606072e-28im
Formula2 = -2.8097513104979995e-29 - 1.0977262944606155e-28im
-----------------------------------------------------------------
=================================================================
i = 29
lambda = -13.413135065194105 - 10.577097876065068im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -6.456688206586616e-7 + 1.922503767897847e-6im
Formula2 = -6.456688206586598e-7 + 1.92250376789785e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 6.456688141519451e-7 - 1.9225039526611454e-6im
Formula2 = 6.456688141519433e-7 - 1.922503952661148e-6im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.5067165669361904e-15 + 1.8476329837470127e-13im
Formula2 = 6.506716566936694e-15 + 1.8476329837470134e-13im
-----------------------------------------------------------------
=================================================================
i = 30
lambda = -35.54484529066366 - 24.753962197798263im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 6.322155533066505e-13 - 1.2641791653448134e-12im
Formula2 = 6.322155533066523e-13 - 1.2641791653448182e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -6.322155533066505e-13 + 1.2641791653448134e-12im
Formula2 = -6.322155533066523e-13 + 1.2641791653448182e-12im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -4.558255069840744e-31 - 2.2798893030035735e-31im
Formula2 = -4.558255069840784e-31 - 2.2798893030035438e-31im
-----------------------------------------------------------------
=================================================================
i = 31
lambda = 22.718983458790106 + 37.88675065175488im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189696 - 8.080931486031256e-16im
Formula2 = -0.15915494309189532 + 7.387821365952008e-18im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.13440394489118834 - 0.008993680160295954im
Formula2 = 0.13440394489118646 - 0.008993680160296159im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.02475099820070864 + 0.008993680160296745im
Formula2 = 0.024750998200708883 + 0.008993680160296152im
-----------------------------------------------------------------
=================================================================
i = 32
lambda = 5.037909669104955 + 29.120474117715318im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 - 4.468098796766434e-19im
Formula2 = -0.15915494309189535 - 4.1165801236558996e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957492240949215 - 0.13783070865484498im
Formula2 = 0.07957492240949221 - 0.13783070865484498im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0795800206824032 + 0.13783070865484492im
Formula2 = 0.07958002068240312 + 0.13783070865484498im
-----------------------------------------------------------------
=================================================================
i = 33
lambda = 9.386268190714397 + 42.1241568643681im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 - 8.999725064576941e-22im
Formula2 = -0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957728983762034 - 0.13783228670850384im
Formula2 = 0.0795772898376204 - 0.13783228670850384im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957765325427502 + 0.13783228670850375im
Formula2 = 0.07957765325427493 + 0.13783228670850384im
-----------------------------------------------------------------
=================================================================
i = 34
lambda = -27.980605844333596 + 39.083690416539966im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591549430918922 - 2.150570913299517e-15im
Formula2 = -0.15915494309189535 - 2.3649159887340065e-18im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.16190937389573343 - 0.0010098713197430802im
Formula2 = 0.1619093738957366 - 0.0010098713197452722im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.0027544308038412314 + 0.0010098713197452312im
Formula2 = -0.002754430803841259 + 0.0010098713197452746im
-----------------------------------------------------------------
=================================================================
i = 35
lambda = 20.120558948166405 - 25.984798969432397im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.7816536405333115e-13 - 3.0305612269723036e-13im
Formula2 = -2.7816536405333095e-13 - 3.0305612269723046e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -8.859853930714436e-27 + 4.981569265969712e-26im
Formula2 = -8.859853930714284e-27 + 4.9815692659697124e-26im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.7816536405334e-13 + 3.0305612269718053e-13im
Formula2 = 2.7816536405333984e-13 + 3.0305612269718063e-13im
-----------------------------------------------------------------
=================================================================
i = 36
lambda = 21.778942381484498 + 26.976262528845126im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309149023 + 4.512415772325016e-13im
Formula2 = -0.15915494309148975 + 4.535838969233017e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -0.0003078921768238457 - 0.0014342936834141487im
Formula2 = -0.00030789217682385936 - 0.0014342936834141355im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.1594628352683141 + 0.0014342936829629068im
Formula2 = 0.15946283526831362 + 0.0014342936829605517im
-----------------------------------------------------------------
=================================================================
i = 37
lambda = 8.362488543627535 - 39.76099191171056im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.027054435273722e-24 - 2.590363765401928e-24im
Formula2 = -1.0270544352736793e-24 - 2.590363765401915e-24im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 5.857302694637188e-31 - 1.3019996518109957e-30im
Formula2 = 5.8573026946372874e-31 - 1.3019996518109757e-30im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.0270538495434525e-24 + 2.5903650674015798e-24im
Formula2 = 1.02705384954341e-24 + 2.590365067401567e-24im
-----------------------------------------------------------------
=================================================================
i = 38
lambda = 33.53680050955565 + 7.4489550718763695im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15896995105247658 + 4.893826624621792e-6im
Formula2 = -0.15896995105247466 + 4.893826625936096e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.156302178647497e-12 + 5.77838086260073e-13im
Formula2 = -3.156302178647454e-12 + 5.778380862600896e-13im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15896995105563289 - 4.893827202459878e-6im
Formula2 = 0.15896995105563097 - 4.893827203774183e-6im
-----------------------------------------------------------------
=================================================================
i = 39
lambda = -1.782935617554024 - 12.43750729228217im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 6.121530483975066e-9 - 1.1687610682178586e-9im
Formula2 = 6.121530483975072e-9 - 1.1687610682178187e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -5.923316797394046e-9 + 9.848445504686825e-10im
Formula2 = -5.923316797394051e-9 + 9.84844550468644e-10im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.9821368658102035e-10 + 1.839165177491761e-10im
Formula2 = -1.9821368658102154e-10 + 1.8391651774917468e-10im
-----------------------------------------------------------------
=================================================================
i = 40
lambda = -32.44446108195373 + 28.104781022542525im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309179706 + 1.7226542220959932e-13im
Formula2 = -0.15915494309179945 + 1.7346350457371137e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915500434323437 - 2.454237404825542e-7im
Formula2 = 0.1591550043432368 - 2.4542374168064164e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -6.125143732943215e-8 + 2.4542356821713076e-7im
Formula2 = -6.12514373294318e-8 + 2.454235682171364e-7im
-----------------------------------------------------------------
=================================================================
i = 41
lambda = 39.15279497900774 + 28.623716842035236im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591549430918024 - 7.365601785921396e-14im
Formula2 = -0.15915494309180078 - 7.051139321945579e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 7.741797789228093e-10 + 6.061109382497392e-10im
Formula2 = 7.741797789228029e-10 + 6.061109382497248e-10im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15915494231762262 - 6.060372822312994e-10im
Formula2 = 0.159154942317621 - 6.060404268541392e-10im
-----------------------------------------------------------------
=================================================================
i = 42
lambda = -31.632831882173672 + 26.506529541430737im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591549430921886 + 9.332834611603053e-13im
Formula2 = -0.1591549430921912 + 9.342359878259754e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915471342289003 - 5.843999073793569e-9im
Formula2 = 0.15915471342289264 - 5.8440000263210816e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.296692985573868e-7 + 5.8430657903335095e-9im
Formula2 = 2.2966929855738925e-7 + 5.843065790332028e-9im
-----------------------------------------------------------------
=================================================================
i = 43
lambda = 47.92447918667855 + 43.123833158872785im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591549430918981 - 3.5177549350014214e-15im
Formula2 = -0.15915494309189535 + 5.421010862427522e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -5.849824701436615e-10 + 3.758776142017373e-10im
Formula2 = -5.849824701436424e-10 + 3.7587761420174886e-10im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15915494367688057 - 3.758740964461053e-10im
Formula2 = 0.1591549436768778 - 3.7587761425440336e-10im
-----------------------------------------------------------------
=================================================================
i = 44
lambda = -30.431890755619918 - 21.254488203369416im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 4.668918529483425e-11 + 2.95289983545633e-12im
Formula2 = 4.668918529483442e-11 + 2.952899835456323e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.668918529483426e-11 - 2.952899835456323e-12im
Formula2 = -4.6689185294834426e-11 - 2.9528998354563158e-12im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.16090562323562e-27 - 6.982992309908519e-27im
Formula2 = 4.160905623235604e-27 - 6.982992309908558e-27im
-----------------------------------------------------------------
=================================================================
i = 45
lambda = 15.873532976665047 + 7.822757675138604im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15911019603935553 + 0.00011932441047059309im
Formula2 = -0.1591101960393546 + 0.00011932441047127596im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 7.744549851394666e-6 - 1.5165488490229708e-5im
Formula2 = 7.74454985139454e-6 - 1.5165488490229674e-5im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15910245148950414 - 0.00010415892198036338im
Formula2 = 0.1591024514895032 - 0.00010415892198104628im
-----------------------------------------------------------------
=================================================================
i = 46
lambda = -25.90167334840283 - 0.9886632987410522im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.01128879451903001 + 0.02553123075462974im
Formula2 = -0.011288794519029983 + 0.025531230754629795im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.011288794524536428 - 0.025531230751845334im
Formula2 = 0.011288794524536402 - 0.025531230751845393im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -5.506418668472742e-12 - 2.7844029228506792e-12im
Formula2 = -5.506418668472757e-12 - 2.7844029228506493e-12im
-----------------------------------------------------------------
=================================================================
i = 47
lambda = -21.911292271230987 - 17.993555336667576im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -6.92227105919402e-10 - 1.0043298452519998e-9im
Formula2 = -6.922271059194025e-10 - 1.0043298452519996e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 6.922271059194112e-10 + 1.004329845250266e-9im
Formula2 = 6.922271059194117e-10 + 1.0043298452502658e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -9.2080589759071e-24 + 1.7337823122347824e-21im
Formula2 = -9.208058975903751e-24 + 1.7337823122347858e-21im
-----------------------------------------------------------------
=================================================================
i = 48
lambda = 41.108961853073396 - 19.825459346787056im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -4.932808238189896e-11 + 1.8896794031134698e-10im
Formula2 = -4.932808238189903e-11 + 1.8896794031134695e-10im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -5.829686802251675e-30 + 3.274632126395809e-30im
Formula2 = -5.829686802251656e-30 + 3.2746321263958226e-30im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.932808238189896e-11 - 1.8896794031134698e-10im
Formula2 = 4.932808238189903e-11 - 1.8896794031134695e-10im
-----------------------------------------------------------------
=================================================================
i = 49
lambda = 18.581958528114328 + 33.12639504016704im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189657 + 3.1828067674380227e-16im
Formula2 = -0.15915494309189565 + 2.758752427889366e-16im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.12181864336685054 - 0.10912754615621618im
Formula2 = 0.12181864336685 - 0.1091275461562157im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.037336299725046054 + 0.10912754615621581im
Formula2 = 0.03733629972504565 + 0.10912754615621542im
-----------------------------------------------------------------
=================================================================
i = 50
lambda = -3.8079378553427006 - 14.122048877125401im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -9.218369849409589e-10 - 2.4416623656293365e-9im
Formula2 = -9.218369849409449e-10 - 2.4416623656293427e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 9.243566870017521e-10 + 2.4441969098661005e-9im
Formula2 = 9.243566870017381e-10 + 2.4441969098661067e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.519702060793289e-12 - 2.534544236763931e-12im
Formula2 = -2.5197020607932738e-12 - 2.5345442367639476e-12im
-----------------------------------------------------------------
=================================================================
i = 51
lambda = -12.004384253627329 - 11.488571167584816im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 7.185755330883527e-7 + 3.830894445322852e-7im
Formula2 = 7.18575533088352e-7 + 3.830894445322853e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -7.185755659176174e-7 - 3.8308928792597063e-7im
Formula2 = -7.185755659176167e-7 - 3.830892879259707e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.282926466633674e-14 - 1.5660631461787673e-13im
Formula2 = 3.2829264666336876e-14 - 1.5660631461787657e-13im
-----------------------------------------------------------------
=================================================================
i = 52
lambda = 43.15248406009009 + 20.753024934340942im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494339360356 - 6.664082002393946e-11im
Formula2 = -0.15915494339360037 - 6.663900534563546e-11im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.1794842867666374e-13 - 4.3256272896741407e-13im
Formula2 = 4.1794842867664844e-13 - 4.3256272896741705e-13im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15915494339318562 + 6.707338275353911e-11im
Formula2 = 0.15915494339318242 + 6.707156807692917e-11im
-----------------------------------------------------------------
=================================================================
i = 53
lambda = 26.918600478791618 + 42.8212159225354im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189743 - 2.3592230802955104e-15im
Formula2 = -0.15915494309189535 - 4.912791094074942e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.04369907227627222 + 0.02199677815485363im
Formula2 = 0.043699072276272455 + 0.021996778154852202im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.11545587081562522 - 0.02199677815485127im
Formula2 = 0.11545587081562288 - 0.021996778154852202im
-----------------------------------------------------------------
=================================================================
i = 54
lambda = -37.48947764691724 + 16.725964617801225im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915495469196683 + 1.2878146452129715e-8im
Formula2 = -0.1591549546919694 + 1.2878146632161485e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915495468416632 - 1.2885660945799938e-8im
Formula2 = 0.1591549546841689 - 1.288566112583425e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 7.80050770441368e-12 + 7.514493670300435e-12im
Formula2 = 7.800507704413788e-12 + 7.514493670300543e-12im
-----------------------------------------------------------------
=================================================================
i = 55
lambda = -34.11439981671805 - 33.70295713157849im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.510757203361879e-16 - 1.0426353570495245e-16im
Formula2 = -1.5107572033618795e-16 - 1.042635357049524e-16im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.510757203361879e-16 + 1.0426353570495245e-16im
Formula2 = 1.5107572033618795e-16 + 1.042635357049524e-16im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.6033198811719206e-36 - 1.8651720185302338e-38im
Formula2 = 2.603319881171919e-36 - 1.865172018530934e-38im
-----------------------------------------------------------------
=================================================================
i = 56
lambda = -3.311959571651137 - 9.738220070162008im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.1200001667810436e-6 - 5.937476612629649e-7im
Formula2 = 1.1200001667810476e-6 - 5.937476612629609e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.1241783494157707e-6 + 5.909649117380519e-7im
Formula2 = -1.1241783494157747e-6 + 5.909649117380479e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.178182634727108e-9 + 2.782749524913019e-9im
Formula2 = 4.178182634727101e-9 + 2.782749524913044e-9im
-----------------------------------------------------------------
=================================================================
i = 57
lambda = 25.79008914775507 + 34.3477818230468im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189637 - 2.7899300166119023e-15im
Formula2 = -0.1591549430918953 - 3.859183751644263e-16im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -0.00135098606310842 + 0.0012581519447765535im
Formula2 = -0.0013509860631083874 + 0.0012581519447765696im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.16050592915500478 - 0.001258151944773763im
Formula2 = 0.16050592915500367 - 0.0012581519447761836im
-----------------------------------------------------------------
=================================================================
i = 58
lambda = 31.498742096679806 - 10.865818481628665im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 6.484680875635406e-7 - 1.3746678015244048e-6im
Formula2 = 6.484680875635411e-7 - 1.3746678015244044e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.8714389185817416e-20 + 2.616945528244097e-21im
Formula2 = -1.8714389185817428e-20 + 2.6169455282441124e-21im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -6.484680875635219e-7 + 1.374667801524402e-6im
Formula2 = -6.484680875635224e-7 + 1.3746678015244016e-6im
-----------------------------------------------------------------
=================================================================
i = 59
lambda = -43.560285919344025 - 9.073436576054682im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 7.399443911216722e-6 + 5.341057921885693e-6im
Formula2 = 7.399443911216725e-6 + 5.34105792188569e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -7.399443911216722e-6 - 5.341057921885692e-6im
Formula2 = -7.399443911216725e-6 - 5.34105792188569e-6im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -4.806444306683885e-24 - 6.498484703313844e-24im
Formula2 = -4.8064443066839036e-24 - 6.4984847033137855e-24im
-----------------------------------------------------------------
=================================================================
i = 60
lambda = -18.234375932574753 - 17.709019320175898im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.4731167929493672e-9 + 6.788906417824701e-10im
Formula2 = 1.4731167929493676e-9 + 6.788906417824696e-10im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.4731167928947202e-9 - 6.78890641816106e-10im
Formula2 = -1.4731167928947206e-9 - 6.788906418161055e-10im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -5.464713190703085e-20 + 3.363595857550075e-20im
Formula2 = -5.464713190703093e-20 + 3.3635958575500946e-20im
-----------------------------------------------------------------
=================================================================
i = 61
lambda = 23.581763466044833 + 10.526458527692654im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15916241907509313 + 4.1211720595339975e-6im
Formula2 = -0.1591624190750915 + 4.1211720604823034e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.4145842358609344e-8 - 7.034153276610934e-8im
Formula2 = 4.414584235860851e-8 - 7.034153276610918e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15916237492925078 - 4.050830526767887e-6im
Formula2 = 0.15916237492924915 - 4.050830527716194e-6im
-----------------------------------------------------------------
=================================================================
i = 62
lambda = -21.74535114213143 + 13.71805226503475im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591546989768234 - 2.5206083601765207e-7im
Formula2 = -0.15915469897682505 - 2.520608353840839e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.1591566269335864 - 3.1382926174732406e-7im
Formula2 = 0.15915662693358804 - 3.1382926238090237e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.9279567629866977e-6 + 5.658900977649761e-7im
Formula2 = -1.9279567629867096e-6 + 5.658900977649862e-7im
-----------------------------------------------------------------
=================================================================
i = 63
lambda = 28.60910508363692 - 35.915231559286156im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -3.7763089878087355e-18 + 1.9724219596195428e-17im
Formula2 = -3.776308987808743e-18 + 1.9724219596195425e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -8.065399790736456e-36 - 7.604806452327206e-36im
Formula2 = -8.065399790736484e-36 - 7.604806452327199e-36im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.7763089878087355e-18 - 1.9724219596195428e-17im
Formula2 = 3.776308987808743e-18 - 1.9724219596195425e-17im
-----------------------------------------------------------------
=================================================================
i = 64
lambda = -28.48113632920124 + 41.15396371378182im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189293 - 2.3369308671896717e-15im
Formula2 = -0.15915494309189535 - 4.13140320023285e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15828046208735427 + 0.0054102258355764im
Formula2 = 0.15828046208735674 + 0.0054102258355741145im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0008744810045386486 - 0.005410225835574062im
Formula2 = 0.000874481004538579 - 0.0054102258355741145im
-----------------------------------------------------------------
=================================================================
i = 65
lambda = -28.306213521496915 + 37.964004498407064im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591549430918926 - 2.391899970274246e-15im
Formula2 = -0.15915494309189532 - 9.120850776034306e-18im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15967115839618257 - 0.001143096639683547im
Formula2 = 0.1596711583961853 - 0.0011430966396859571im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.0005162153042899546 + 0.0011430966396859387im
Formula2 = -0.0005162153042899576 + 0.0011430966396859662im
-----------------------------------------------------------------
=================================================================
i = 66
lambda = 11.125715369584242 - 45.814928230747576im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.1591096784473604e-27 + 3.2726097203925326e-27im
Formula2 = 1.1591096784473084e-27 + 3.272609720392524e-27im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.4826061776556592e-35 - 7.423189275001013e-37im
Formula2 = 1.4826061776556493e-35 - 7.423189274999044e-37im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.1591096932734223e-27 - 3.272609719650214e-27im
Formula2 = -1.1591096932733701e-27 - 3.272609719650205e-27im
-----------------------------------------------------------------
=================================================================
i = 67
lambda = 5.791833657908832 + 49.46407874410552im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 + 8.470329472543003e-22im
Formula2 = -0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747150695697 - 0.13783222364110354im
Formula2 = 0.07957747150695703 - 0.13783222364110356im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747158493839 + 0.13783222364110348im
Formula2 = 0.0795774715849383 + 0.13783222364110356im
-----------------------------------------------------------------
=================================================================
i = 68
lambda = 32.645386893761724 - 28.728103509626933im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.723338376016132e-14 - 2.021845531831072e-14im
Formula2 = -1.7233383760161312e-14 - 2.0218455318310722e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -8.13386493481292e-33 - 1.3982490946657126e-32im
Formula2 = -8.13386493481279e-33 - 1.398249094665713e-32im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.723338376016132e-14 + 2.021845531831072e-14im
Formula2 = 1.7233383760161312e-14 + 2.0218455318310722e-14im
-----------------------------------------------------------------
=================================================================
i = 69
lambda = -12.848484700389882 - 7.493258238417354im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.0599556002837236e-5 + 4.302987017676054e-5im
Formula2 = 1.0599556002837254e-5 + 4.302987017676054e-5im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.0599525972060054e-5 - 4.3029863553498184e-5im
Formula2 = -1.0599525972060071e-5 - 4.3029863553498184e-5im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.003077718269855e-11 - 6.6232623582210936e-12im
Formula2 = -3.003077718269855e-11 - 6.623262358221127e-12im
-----------------------------------------------------------------
=================================================================
i = 70
lambda = 35.00172624429125 + 25.84940233776139im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309174652 + 1.882093787562006e-12im
Formula2 = -0.1591549430917454 + 1.884634678033664e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 3.728036455114166e-9 - 8.128720142571869e-9im
Formula2 = 3.728036455114008e-9 - 8.128720142571838e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15915493936371009 + 8.126838048784358e-9im
Formula2 = 0.15915493936370895 + 8.126835507893675e-9im
-----------------------------------------------------------------
=================================================================
i = 71
lambda = -34.748290551777885 + 8.274909969543302im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15912840890429378 - 7.663827224357976e-5im
Formula2 = -0.15912840890429655 - 7.663827224369514e-5im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15912840890440968 + 7.663827393970697e-5im
Formula2 = 0.15912840890441246 + 7.663827393982234e-5im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.1591232884126959e-13 - 1.696127209952159e-12im
Formula2 = -1.1591232884127037e-13 - 1.69612720995218e-12im
-----------------------------------------------------------------
=================================================================
i = 72
lambda = -48.58388491876757 + 41.73164108225285im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189163 - 1.9880091970954188e-15im
Formula2 = -0.15915494309189535 - 1.4230153513872246e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915494327868948 - 5.877638182484572e-11im
Formula2 = 0.1591549432786932 - 5.877836969301183e-11im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.8679785852733538e-10 + 5.877836983499685e-11im
Formula2 = -1.867978585273372e-10 + 5.877836983500026e-11im
-----------------------------------------------------------------
=================================================================
i = 73
lambda = -41.388770615150406 - 15.315300623017116im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 4.344912989290481e-10 - 1.7754546378341877e-8im
Formula2 = 4.3449129892907285e-10 - 1.7754546378341877e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.344912989290481e-10 + 1.7754546378341877e-8im
Formula2 = -4.3449129892907285e-10 + 1.7754546378341877e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -5.674722471368285e-28 + 4.515003642754892e-27im
Formula2 = -5.674722471368506e-28 + 4.515003642754897e-27im
-----------------------------------------------------------------
=================================================================
i = 74
lambda = -9.810499078366817 + 45.3655876555426im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 + 8.470329472543003e-22im
Formula2 = -0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957741785604197 - 0.13783221237232487im
Formula2 = 0.07957741785604203 - 0.13783221237232487im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957752523585337 + 0.1378322123723248im
Formula2 = 0.0795775252358533 + 0.13783221237232487im
-----------------------------------------------------------------
=================================================================
i = 75
lambda = 8.857006115222 - 49.897176895591656im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 4.854947078303213e-31 + 9.494923276739293e-31im
Formula2 = 4.8549470783029805e-31 + 9.494923276739315e-31im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.908053341913221e-37 + 1.31993716909926e-37im
Formula2 = 1.9080533419131795e-37 + 1.3199371690992878e-37im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -4.8549489863565555e-31 - 9.49492459667646e-31im
Formula2 = -4.8549489863563225e-31 - 9.494924596676483e-31im
-----------------------------------------------------------------
=================================================================
i = 76
lambda = -48.04519531860745 + 37.40857081716915im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189135 - 1.7211540081617932e-15im
Formula2 = -0.15915494309189535 - 1.664589147944151e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915494307807945 + 3.3196021967515574e-11im
Formula2 = 0.15915494307808345 + 3.319431745939889e-11im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.3811881238231473e-11 - 3.3194300814048924e-11im
Formula2 = 1.381188123823121e-11 - 3.3194300814049584e-11im
-----------------------------------------------------------------
=================================================================
i = 77
lambda = -27.146117688213845 - 12.112199386288268im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -4.356128502751191e-7 + 3.5370088473490776e-8im
Formula2 = -4.356128502751192e-7 + 3.5370088473490173e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.356128502751665e-7 - 3.537008847360788e-8im
Formula2 = 4.356128502751666e-7 - 3.5370088473607276e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -4.739371918326831e-20 + 1.1710064952390453e-19im
Formula2 = -4.739371918326775e-20 + 1.1710064952390453e-19im
-----------------------------------------------------------------
=================================================================
i = 78
lambda = 18.45531184027209 + 37.120875842309346im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189523 - 1.8583479346285722e-17im
Formula2 = -0.15915494309189535 - 7.420008617947671e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07426518549968093 - 0.140710945279127im
Formula2 = 0.07426518549968099 - 0.14071094527912711im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.08488975759221432 + 0.14071094527912695im
Formula2 = 0.08488975759221434 + 0.14071094527912711im
-----------------------------------------------------------------
=================================================================
i = 79
lambda = -17.72498423223334 - 22.91650403742247im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 8.848713950897045e-12 - 5.957288909756319e-13im
Formula2 = 8.84871395089703e-12 - 5.957288909756349e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -8.848713950860603e-12 + 5.957288909938642e-13im
Formula2 = -8.84871395086059e-12 + 5.957288909938672e-13im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.6440427277839125e-23 - 1.823233287556942e-23im
Formula2 = -3.644042727783884e-23 - 1.823233287556937e-23im
-----------------------------------------------------------------
=================================================================
i = 80
lambda = 38.36069241111804 - 21.319277603910503im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -6.030986200965986e-12 - 4.343082386715325e-11im
Formula2 = -6.030986200965968e-12 - 4.343082386715325e-11im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.4659854957668856e-30 + 7.545091103867695e-30im
Formula2 = -1.4659854957668546e-30 + 7.545091103867667e-30im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.030986200965986e-12 + 4.343082386715325e-11im
Formula2 = 6.030986200965968e-12 + 4.343082386715325e-11im
-----------------------------------------------------------------
=================================================================
i = 81
lambda = 5.6644013311391035 + 46.82371757053498im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 - 8.470329472543003e-22im
Formula2 = -0.15915494309189535 + 5.082197683525802e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.0795774721489479 - 0.13783222426762662im
Formula2 = 0.07957747214894798 - 0.13783222426762665im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747094294744 + 0.13783222426762656im
Formula2 = 0.07957747094294737 + 0.13783222426762665im
-----------------------------------------------------------------
=================================================================
i = 82
lambda = 36.34173803821763 + 49.83578403363427im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189673 - 4.252993509261784e-15im
Formula2 = -0.15915494309189535 + 8.470329472543003e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -0.00037704089701763897 + 0.00025311267302329im
Formula2 = -0.00037704089701763084 + 0.0002531126730232964im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15953198398891436 - 0.0002531126730190368im
Formula2 = 0.15953198398891297 - 0.0002531126730232964im
-----------------------------------------------------------------
=================================================================
i = 83
lambda = -6.710051102705286 - 11.143652303534644im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 5.115620418273798e-7 + 9.775922846559626e-7im
Formula2 = 5.115620418273783e-7 + 9.775922846559617e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -5.115459918735855e-7 - 9.775876093251353e-7im
Formula2 = -5.11545991873584e-7 - 9.775876093251345e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.6049953794374003e-11 - 4.675330827193324e-12im
Formula2 = -1.604995379437402e-11 - 4.675330827193373e-12im
-----------------------------------------------------------------
=================================================================
i = 84
lambda = -32.46320214470639 + 6.653114511042091im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15894907893089952 + 0.00035467305498611425im
Formula2 = -0.15894907893090177 + 0.0003546730549859727im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15894907893362986 - 0.00035467305971535745im
Formula2 = 0.15894907893363214 - 0.00035467305971521596im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.730349886628475e-12 + 4.72924322349408e-12im
Formula2 = -2.7303498866285058e-12 + 4.7292432234941286e-12im
-----------------------------------------------------------------
=================================================================
i = 85
lambda = 18.48431736153175 - 0.1447559831597971im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.04591465155166605 - 0.08419786040083378im
Formula2 = 0.045914651551665964 - 0.08419786040083423im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.912427658887801e-8 + 5.574402280939669e-9im
Formula2 = 1.9124276588878125e-8 + 5.574402280939609e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.04591467067594264 + 0.0841978548264315im
Formula2 = -0.04591467067594256 + 0.08419785482643194im
-----------------------------------------------------------------
=================================================================
i = 86
lambda = 3.9922588048151937 - 26.21540427163498im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -3.416557743959113e-17 - 2.4871219394817644e-17im
Formula2 = -3.416557743959073e-17 - 2.4871219394817866e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.1891168229245877e-20 - 1.6963133091502423e-21im
Formula2 = 4.18911682292457e-20 - 1.696313309149841e-21im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.412368627136189e-17 + 2.4872915708126794e-17im
Formula2 = 3.4123686271361487e-17 + 2.4872915708127016e-17im
-----------------------------------------------------------------
=================================================================
i = 87
lambda = 35.1284766351278 - 32.97372337443441im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.8018604575239377e-17 + 3.8018644121561214e-16im
Formula2 = 1.801860457523923e-17 + 3.8018644121561214e-16im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.7556813243614478e-36 - 2.7110455061403828e-36im
Formula2 = -1.7556813243614397e-36 - 2.7110455061404122e-36im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.8018604575239377e-17 - 3.8018644121561214e-16im
Formula2 = -1.801860457523923e-17 - 3.8018644121561214e-16im
-----------------------------------------------------------------
=================================================================
i = 88
lambda = -45.94235169044596 + 13.463733234473828im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915449466351106 + 6.060698650749347e-8im
Formula2 = -0.15915449466351417 + 6.060698666555829e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915449466351186 - 6.060698766772278e-8im
Formula2 = 0.15915449466351494 - 6.060698782578845e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -7.889789829588497e-16 + 1.160229766414525e-15im
Formula2 = -7.889789829588544e-16 + 1.1602297664145487e-15im
-----------------------------------------------------------------
=================================================================
i = 89
lambda = 47.65397239343227 - 35.207472713685604im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.6436656023632075e-19 + 4.077273887167472e-17im
Formula2 = 2.6436656023630505e-19 + 4.077273887167472e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.1786201084341195e-42 - 3.2857171603379197e-43im
Formula2 = 2.1786201084341223e-42 - 3.285717160337992e-43im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.643665602363208e-19 - 4.077273887167472e-17im
Formula2 = -2.6436656023630505e-19 - 4.077273887167472e-17im
-----------------------------------------------------------------
=================================================================
i = 90
lambda = -49.62469005053709 + 13.94990524713917im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915519870646055 + 1.1000749567269873e-7im
Formula2 = -0.15915519870646389 + 1.1000749565775622e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.15915519870646058 - 1.1000749560187788e-7im
Formula2 = 0.15915519870646389 - 1.100074955869358e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.0533422708632186e-17 - 7.082105871114703e-17im
Formula2 = -2.0533422708632987e-17 - 7.082105871114801e-17im
-----------------------------------------------------------------
=================================================================
i = 91
lambda = -18.503174805328836 + 46.41966013854473im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 + 1.0155925037579061e-18im
Formula2 = -0.15915494309189535 - 8.470329472543003e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.0795360385089169 - 0.13787602743663624im
Formula2 = 0.07953603850891697 - 0.13787602743663624im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07961890458297845 + 0.13787602743663616im
Formula2 = 0.07961890458297838 + 0.13787602743663624im
-----------------------------------------------------------------
=================================================================
i = 92
lambda = 3.7693734214898598 - 47.686212443522734im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.2393883334878652e-31 - 3.3682012151038335e-31im
Formula2 = -1.2393883334878078e-31 - 3.3682012151038383e-31im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 5.23609227920658e-34 + 2.0270921131657462e-35im
Formula2 = 5.2360922792065545e-34 + 2.0270921131665267e-35im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.2341522412086586e-31 + 3.3679985058925174e-31im
Formula2 = 1.2341522412086012e-31 + 3.3679985058925213e-31im
-----------------------------------------------------------------
=================================================================
i = 93
lambda = -7.2014653053876785 + 1.6359131701389131im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.12571321669674637 + 0.03957307906793773im
Formula2 = -0.1257132166967467 + 0.03957307906793799im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.12673509120194745 - 0.0389850930434026im
Formula2 = 0.1267350912019478 - 0.03898509304340287im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.0010218745052010955 - 0.0005879860245351246im
Formula2 = -0.0010218745052010976 - 0.0005879860245351263im
-----------------------------------------------------------------
=================================================================
i = 94
lambda = 34.675905640020005 + 6.7477333854635475im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1590070828480945 + 0.0003426618872910988im
Formula2 = -0.15900708284809265 + 0.0003426618872922342im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -8.339325731648017e-13 + 1.2217539019119908e-13im
Formula2 = -8.33932573164792e-13 + 1.22175390191204e-13im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.15900708284892845 - 0.0003426618874132742im
Formula2 = 0.1590070828489266 - 0.0003426618874144096im
-----------------------------------------------------------------
=================================================================
i = 95
lambda = -13.65707910382099 + 48.01209242627249im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 + 8.470329472543003e-22im
Formula2 = -0.15915494309189535 - 2.117582368135751e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957758709474101 - 0.13783261613399211im
Formula2 = 0.07957758709474107 - 0.13783261613399214im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957735599715435 + 0.13783261613399206im
Formula2 = 0.07957735599715426 + 0.13783261613399214im
-----------------------------------------------------------------
=================================================================
i = 96
lambda = 46.155314084624635 - 46.512882639324296im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -5.002167287515214e-22 + 3.9409176453841095e-23im
Formula2 = -5.002167287515214e-22 + 3.94091764538409e-23im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.713919335856295e-49 - 2.1825454867557866e-49im
Formula2 = 2.7139193358563042e-49 - 2.1825454867557832e-49im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 5.002167287515214e-22 - 3.9409176453841095e-23im
Formula2 = 5.002167287515214e-22 - 3.94091764538409e-23im
-----------------------------------------------------------------
=================================================================
i = 97
lambda = -19.625953836604857 + 31.20369583828034im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591549430918896 + 1.5401006309828918e-14im
Formula2 = -0.159154943091894 + 1.711864089609487e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.18389529354505021 + 0.14954757448830594im
Formula2 = 0.1838952935450577 + 0.14954757448830625im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.02474035045316064 - 0.1495475744883213im
Formula2 = -0.02474035045316371 - 0.14954757448832334im
-----------------------------------------------------------------
=================================================================
i = 98
lambda = -17.30259156341043 + 24.096169127447837im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591549431025991 - 4.708792601821203e-12im
Formula2 = -0.15915494310260045 - 4.707386419211469e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.17713581347884477 + 0.0020255099601317033im
Formula2 = 0.17713581347884627 + 0.002025509960130164im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.017980870376245697 - 0.0020255099554229053im
Formula2 = -0.017980870376245836 - 0.0020255099554227778im
-----------------------------------------------------------------
=================================================================
i = 99
lambda = 4.126465159975766 + 34.10890307085374im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535
Formula2 = -0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957758088820983 - 0.13783220317408118im
Formula2 = 0.0795775808882099 - 0.1378322031740812im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957736220368551 + 0.13783220317408112im
Formula2 = 0.07957736220368544 + 0.1378322031740812im
-----------------------------------------------------------------
=================================================================
i = 100
lambda = 6.925965004137133 - 22.687958645661332im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -8.125795384284843e-14 + 6.953853649869372e-14im
Formula2 = -8.125795384284853e-14 + 6.953853649869271e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.318749510174737e-19 - 6.205333072328815e-19im
Formula2 = 2.318749510174771e-19 - 6.205333072328766e-19im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 8.12577219678974e-14 - 6.953791596538648e-14im
Formula2 = 8.125772196789752e-14 - 6.953791596538547e-14im
-----------------------------------------------------------------
=================================================================
Out[183]:
true

Problem 2

\begin{alignat*}{3} q_t(x,t) + q_{xxx}(x,t) &= 0,\quad &(x,t)&\in (0,1)\times (0,T)\\ q(x,0) &= f(x),\quad &x&\in [0,1]\\ q(0,t) &= 0, \quad &t&\in [0,T]\\ q(1,t) &= 0\quad &t&\in [0,T]\\ q_x(1,t) &= 0 \quad &t&\in [0,T]. \end{alignat*}

\begin{align*} F_\lambda^+(f) &= \frac{1}{2\pi\Delta(\lambda)}\left[\text{FT}[f](\lambda)(\alpha e^{-\alpha\lambda} + \alpha^2 e^{-i\alpha^2\lambda}) - (\alpha\text{FT}[f](\alpha\lambda) + \alpha^2\text{FT}[f](\alpha^2\lambda))e^{-i\lambda}\right]\\ F_\lambda^-(f) &= \frac{e^{-i\lambda}}{2\pi\Delta(\lambda)}\left[-\text{FT}[f](\lambda) - \alpha\text{FT}[f](\alpha\lambda) - \alpha^2\text{FT}[f](\alpha^2\lambda)\right], \end{align*} where \begin{align*} \Delta(\lambda) = e^{-i\lambda} + \alpha e^{-i\alpha\lambda} + \alpha^2e^{-i\alpha^2\lambda}. \end{align*}

In [184]:
n = 3

t = symbols("t")
symPFunctions = [1 0 0 0]
interval = (0, 1)
symL = SymLinearDifferentialOperator(symPFunctions, interval, t)
L = get_L(symL)
M = [1 0 0; 0 0 0; 0 0 0]
N = [0 0 0; 1 0 0; 0 1 0]
U = VectorBoundaryForm(M, N)
Out[184]:
VectorBoundaryForm([1 0 0; 0 0 0; 0 0 0], [0 0 0; 1 0 0; 0 1 0])
In [185]:
c = symbols("c")
FT = SymFunction("FT[f]")(c)
FTc = symbols("FT[f](c)")
alpha = symbols("alpha")
lambda = symbols("lambda")
Out[185]:
$$\lambda$$
In [186]:
deltaFormula = e^(-im*lambda) + alpha*e^(-im*alpha*lambda) + alpha^2*e^(-im*alpha^2*lambda)
Out[186]:
$$\alpha^{2} e^{- i \alpha^{2} \lambda} + \alpha e^{- i \alpha \lambda} + e^{- i \lambda}$$
In [187]:
FPlusFormula = 1/(2*PI*deltaFormula) * (FT(lambda)*(alpha*e^(-im*alpha*lambda) + alpha^2*e^(-im*alpha^2*lambda)) - (alpha*FT(alpha*lambda) + alpha^2*FT(alpha^2*lambda))*e^(-im*lambda))
Out[187]:
$$\frac{- \left(\alpha^{2} \operatorname{FT[f]}{\left (\alpha^{2} \lambda \right )} + \alpha \operatorname{FT[f]}{\left (\alpha \lambda \right )}\right) e^{- i \lambda} + \left(\alpha^{2} e^{- i \alpha^{2} \lambda} + \alpha e^{- i \alpha \lambda}\right) \operatorname{FT[f]}{\left (\lambda \right )}}{2 \pi \left(\alpha^{2} e^{- i \alpha^{2} \lambda} + \alpha e^{- i \alpha \lambda} + e^{- i \lambda}\right)}$$
In [188]:
FMinusFormula = (e^(-im*lambda))/(2*PI*deltaFormula) * (-FT(lambda) - alpha*FT(alpha*lambda) - alpha^2*FT(alpha^2*lambda))
Out[188]:
$$\frac{\left(- \alpha^{2} \operatorname{FT[f]}{\left (\alpha^{2} \lambda \right )} - \alpha \operatorname{FT[f]}{\left (\alpha \lambda \right )} - \operatorname{FT[f]}{\left (\lambda \right )}\right) e^{- i \lambda}}{2 \pi \left(\alpha^{2} e^{- i \alpha^{2} \lambda} + \alpha e^{- i \alpha \lambda} + e^{- i \lambda}\right)}$$
In [189]:
adjointU = get_adjointU(L, U)
(FPlusSymGeneric, FMinusSymGeneric) = get_FPlusMinus(adjointU; symbolic = true, generic = true)
prettyPrint(simplify(FPlusSymGeneric))
Out[189]:
$$\frac{0.5 \left(\alpha \operatorname{FT[f]}{\left (\lambda \right )} e^{i \lambda \left(\alpha^{2} + 1\right)} - \alpha \operatorname{FT[f]}{\left (\alpha \lambda \right )} e^{i \alpha \lambda \left(\alpha + 1\right)} - \operatorname{FT[f]}{\left (\lambda \right )} e^{i \lambda \left(\alpha + 1\right)} + \operatorname{FT[f]}{\left (\lambda \right )} e^{i \lambda \left(\alpha^{2} + 1\right)} - \operatorname{FT[f]}{\left (\alpha \lambda \right )} e^{i \alpha \lambda \left(\alpha + 1\right)} + \operatorname{FT[f]}{\left (\alpha^{2} \lambda \right )} e^{i \alpha \lambda \left(\alpha + 1\right)}\right)}{\pi \left(\alpha e^{i \lambda \left(\alpha^{2} + 1\right)} - \alpha e^{i \alpha \lambda \left(\alpha + 1\right)} - e^{i \lambda \left(\alpha + 1\right)} + e^{i \lambda \left(\alpha^{2} + 1\right)}\right)}$$
In [190]:
prettyPrint(simplify(FMinusSymGeneric))
Out[190]:
$$\frac{0.5 \left(\alpha \operatorname{FT[f]}{\left (\lambda \right )} - \alpha \operatorname{FT[f]}{\left (\alpha \lambda \right )} - \operatorname{FT[f]}{\left (\alpha \lambda \right )} + \operatorname{FT[f]}{\left (\alpha^{2} \lambda \right )}\right) e^{i \alpha \lambda \left(\alpha + 1\right)}}{\pi \left(\alpha e^{i \lambda \left(\alpha^{2} + 1\right)} - \alpha e^{i \alpha \lambda \left(\alpha + 1\right)} - e^{i \lambda \left(\alpha + 1\right)} + e^{i \lambda \left(\alpha^{2} + 1\right)}\right)}$$
In [191]:
test_formula(FPlusFormula, FPlusSymGeneric)
i = 1
lambda = 16.970205010008414 + 10.971698953728762im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.02034153735824172 - 0.01265957921452567im
Formula2 = 0.020341537358241735 - 0.012659579214525565im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.08037022006782746 - 0.11388614614391766im
Formula2 = 0.08037022006782742 - 0.1138861461439177im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.058443185665826174 + 0.12654572535844327im
Formula2 = 0.05844318566582619 + 0.12654572535844327im
-----------------------------------------------------------------
=================================================================
i = 2
lambda = -46.01085246322649 - 32.44096590912564im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.2705494208814505e-21im
Formula2 = 0.15915494309189535 + 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.4838776615146376e-40 - 5.238988406908903e-40im
Formula2 = -2.4838776615146466e-40 - 5.238988406908879e-40im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 5.779035881272594e-40 + 4.683930486900889e-41im
Formula2 = 5.779035881272577e-40 + 4.683930486900713e-41im
-----------------------------------------------------------------
=================================================================
i = 3
lambda = -1.9258344187457226 - 15.679295754652365im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591549430931994 + 1.340480953132908e-12im
Formula2 = 0.1591549430931994 + 1.3404809535564244e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.8129340990944212e-12 + 4.591320628358856e-13im
Formula2 = -1.8129340990944236e-12 + 4.591320628358879e-13im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 5.088470194393801e-13 - 1.7996130166207664e-12im
Formula2 = 5.088470194393799e-13 - 1.7996130166207692e-12im
-----------------------------------------------------------------
=================================================================
i = 4
lambda = 20.004731675811342 - 13.511317932640424im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 7.513182242145644e-18im
Formula2 = 0.15915494309189535 + 7.51826443982917e-18im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -6.432817005034796e-18 - 3.887594652874982e-18im
Formula2 = -6.432817005034789e-18 - 3.8875946528749745e-18im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.583164231523678e-18 - 3.627185617819172e-18im
Formula2 = 6.583164231523668e-18 - 3.627185617819168e-18im
-----------------------------------------------------------------
=================================================================
i = 5
lambda = -4.499555149991231 + 18.870396469866947im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 3.987340520379221e-12 - 2.136561012204119e-13im
Formula2 = 3.987340520379226e-12 - 2.1365610122041676e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.079577471544139 - 0.13783222385188806im
Formula2 = 0.07957747154413905 - 0.13783222385188806im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154376901 + 0.13783222385210164im
Formula2 = 0.07957747154376894 + 0.13783222385210173im
-----------------------------------------------------------------
=================================================================
i = 6
lambda = 17.95255859325789 + 42.33031967788503im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.28853349647804e-22 + 6.856215918073195e-23im
Formula2 = -2.2885334964780374e-22 + 6.856215918073045e-23im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 7
lambda = -32.2972393452504 - 33.81520195149976im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.23454630473471e-36 + 1.0375896615694244e-35im
Formula2 = 2.234546304734742e-36 + 1.0375896615694302e-35im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.0103063208599554e-35 - 3.252774442014217e-36im
Formula2 = -1.0103063208599617e-35 - 3.252774442014222e-36im
-----------------------------------------------------------------
=================================================================
i = 8
lambda = -30.880210842523546 - 21.110067231222885im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 + 1.6940658945086007e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.714239079136946e-27 - 4.9652582841935386e-27im
Formula2 = -4.714239079136977e-27 - 4.9652582841935135e-27im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.65715935003121e-27 - 1.6000216599491857e-27im
Formula2 = 6.657159350031203e-27 - 1.6000216599492221e-27im
-----------------------------------------------------------------
=================================================================
i = 9
lambda = 17.75520108165422 + 43.0566779491778im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -6.767549808229945e-23 - 2.8391558172925322e-24im
Formula2 = -6.767549808229922e-23 - 2.8391558172924646e-24im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 10
lambda = 47.7689696993216 + 45.477422617027315im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 3.4837863930302866e-13 + 1.223918617852781e-14im
Formula2 = 3.4837863930303e-13 + 1.2239186178526277e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154576285 - 0.13783222385515242im
Formula2 = 0.0795774715457629 - 0.13783222385515245im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154578414 + 0.13783222385514013im
Formula2 = 0.07957747154578405 + 0.1378322238551402im
-----------------------------------------------------------------
=================================================================
i = 11
lambda = -28.592739641940824 - 47.48223313179327im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.1072894913082333e-43 + 1.0508216584778757e-43im
Formula2 = -3.107289491308236e-43 + 1.0508216584778833e-43im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.4360649456538e-44 - 3.2164024656242937e-43im
Formula2 = 6.436064945653763e-44 - 3.2164024656242992e-43im
-----------------------------------------------------------------
=================================================================
i = 12
lambda = 20.33017763712175 - 0.2722241404991692im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494167938649 + 1.9258838948715807e-9im
Formula2 = 0.15915494167938649 + 1.9258838948702042e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -9.616099488146807e-10 - 2.1862105013296434e-9im
Formula2 = -9.616099488146758e-10 - 2.18621050132964e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.3741188065791246e-9 + 2.6032660645945384e-10im
Formula2 = 2.374118806579119e-9 + 2.6032660645945735e-10im
-----------------------------------------------------------------
=================================================================
i = 13
lambda = 18.46591085748632 + 30.315363649941006im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.1941491359647757e-14 - 1.2030355290933014e-14im
Formula2 = 2.194149135964774e-14 - 1.2030355290932977e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594708 - 0.13783222385542301im
Formula2 = 0.07957747154594715 - 0.13783222385542301im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154592633 + 0.13783222385543498im
Formula2 = 0.07957747154592626 + 0.13783222385543506im
-----------------------------------------------------------------
=================================================================
i = 14
lambda = 21.49148707014345 - 35.41628076407184im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 1.6940658945086007e-21im
Formula2 = 0.15915494309189535 - 2.117582368135751e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -5.532134584760199e-35 + 1.1143136690237495e-32im
Formula2 = -5.532134584766078e-35 + 1.1143136690237531e-32im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -9.62257877866432e-33 - 5.6194780359943136e-33im
Formula2 = -9.622578778664317e-33 - 5.619478035994385e-33im
-----------------------------------------------------------------
=================================================================
i = 15
lambda = -14.842999355917172 + 0.8409654903555079im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591534755038439 + 6.689372106237861e-8im
Formula2 = 0.1591534755038439 + 6.689372106237861e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 6.758623639239727e-7 - 1.3044153953646824e-6im
Formula2 = 6.758623639239713e-7 - 1.3044153953646845e-6im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 7.917256875113511e-7 + 1.2375216743023046e-6im
Formula2 = 7.917256875113531e-7 + 1.2375216743023046e-6im
-----------------------------------------------------------------
=================================================================
i = 16
lambda = 19.231013779698515 + 1.9939151077576582im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915488498907113 + 1.7590393968546255e-7im
Formula2 = 0.15915488498907113 + 1.7590393968546425e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.2328586828408382e-7 - 1.3827049164764882e-7im
Formula2 = -1.2328586828408424e-7 - 1.382704916476491e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.8138869250266983e-7 - 3.763344803781443e-8im
Formula2 = 1.8138869250267028e-7 - 3.7633448037814596e-8im
-----------------------------------------------------------------
=================================================================
i = 17
lambda = -36.72502884237434 - 44.255335734655034im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.6940658945086007e-21im
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.8321018693216607e-44 - 3.128788370328467e-44im
Formula2 = 1.832101869321647e-44 - 3.1287883703284156e-44im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.7935592771089365e-44 + 3.151040946317749e-44im
Formula2 = 1.7935592771088974e-44 + 3.1510409463177117e-44im
-----------------------------------------------------------------
=================================================================
i = 18
lambda = -35.22630978154817 - 25.2341357425641im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.664808979722582e-31 + 1.8917225992089948e-31im
Formula2 = 2.6648089797225876e-31 + 1.8917225992090044e-31im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.970684317689408e-31 + 1.3619309730681503e-31im
Formula2 = -2.9706843176894194e-31 + 1.361930973068149e-31im
-----------------------------------------------------------------
=================================================================
i = 19
lambda = -0.8430825162034168 - 6.076392349428936im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915711459846132 + 6.497488285591836e-6im
Formula2 = 0.15915711459846132 + 6.4974882855918285e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -6.712743199111395e-6 - 1.3681642921602903e-6im
Formula2 = -6.712743199111392e-6 - 1.3681642921602842e-6im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.5412366331172624e-6 - 5.129323993431546e-6im
Formula2 = 4.541236633117257e-6 - 5.129323993431544e-6im
-----------------------------------------------------------------
=================================================================
i = 20
lambda = 25.157836663066576 - 16.94555541748668im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.3234889800848443e-23im
Formula2 = 0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.4085668071582494e-22 - 4.403916672898648e-22im
Formula2 = 2.4085668071582503e-22 - 4.403916672898647e-22im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.6096203113009495e-22 + 4.2878383781603425e-22im
Formula2 = 2.609620311300946e-22 + 4.287838378160343e-22im
-----------------------------------------------------------------
=================================================================
i = 21
lambda = -1.5834908110550003 - 31.135485467053712im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.0652438266810273e-24 + 1.9931282500253299e-22im
Formula2 = 2.065243826681452e-24 + 1.9931282500253261e-22im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.7364259166557633e-22 - 9.78678588823517e-23im
Formula2 = -1.7364259166557614e-22 - 9.78678588823512e-23im
-----------------------------------------------------------------
=================================================================
i = 22
lambda = 26.443883123598738 - 40.81262406833865im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.7797902496080934e-38 - 4.313444401195008e-38im
Formula2 = 1.7797902496080897e-38 - 4.313444401194984e-38im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.845657304442587e-38 + 3.698065770165959e-38im
Formula2 = 2.845657304442566e-38 + 3.6980657701659444e-38im
-----------------------------------------------------------------
=================================================================
i = 23
lambda = 41.68836512143554 + 15.777281751004395im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591555550827124 + 1.5584177542698918e-7im
Formula2 = 0.1591555550827124 + 1.5584177542698918e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.409583450152957e-7 + 4.5207870673400236e-7im
Formula2 = -4.4095834501529453e-7 + 4.520787067340038e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.7103247203401347e-7 - 6.079204821609904e-7im
Formula2 = -1.7103247203401508e-7 - 6.079204821609901e-7im
-----------------------------------------------------------------
=================================================================
i = 24
lambda = -22.788890958689944 + 33.731257395453994im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -5.573255571885975e-15 - 2.926964355640983e-15im
Formula2 = -5.5732555718859875e-15 - 2.926964355641028e-15im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154595296 - 0.13783222385545138im
Formula2 = 0.07957747154595302 - 0.1378322238554514im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594798 + 0.13783222385545424im
Formula2 = 0.0795774715459479 + 0.13783222385545432im
-----------------------------------------------------------------
=================================================================
i = 25
lambda = 37.896280049192924 - 33.981762246701734im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 + 5.293955920339377e-23im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.2321568954072206e-38 + 4.905789088114423e-38im
Formula2 = 4.2321568954072556e-38 + 4.905789088114448e-38im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -6.364616423619196e-38 + 1.2122608401669244e-38im
Formula2 = -6.364616423619235e-38 + 1.2122608401669398e-38im
-----------------------------------------------------------------
=================================================================
i = 26
lambda = -29.313581290331967 - 45.3129196359568im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 1.6940658945086007e-21im
Formula2 = 0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 3.9755024737772286e-42 - 2.2120309521076462e-42im
Formula2 = 3.9755024737772834e-42 - 2.2120309521076536e-42im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -7.207623840591263e-44 + 4.548901611152782e-42im
Formula2 = -7.207623840593547e-44 + 4.5489016111528323e-42im
-----------------------------------------------------------------
=================================================================
i = 27
lambda = 10.260757217515135 + 2.403474470775933im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1585453494241436 + 0.0005283378311104969im
Formula2 = 0.1585453494241436 + 0.0005283378311104962im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -0.0001527571496461965 - 0.0007920925178143794im
Formula2 = -0.0001527571496461964 - 0.0007920925178143784im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0007623508173979288 + 0.00026375468670388223im
Formula2 = 0.0007623508173979277 + 0.0002637546867038821im
-----------------------------------------------------------------
=================================================================
i = 28
lambda = 42.74485916363797 - 43.159188729525624im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 3.758988794189548e-47 + 1.0210769790213194e-45im
Formula2 = 3.758988794189717e-47 + 1.0210769790213046e-45im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -9.030735470228807e-46 - 4.7798469162756765e-46im
Formula2 = -9.030735470228684e-46 - 4.77984691627559e-46im
-----------------------------------------------------------------
=================================================================
i = 29
lambda = -27.57983164535245 - 11.816610517681127im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 1.3213713977167085e-19im
Formula2 = 0.15915494309189535 - 1.3383120566617945e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 9.728403045547371e-20 + 9.386880300104541e-20im
Formula2 = 9.728403045547415e-20 + 9.38688030010449e-20im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.2993478324947913e-19 + 3.7316040256456566e-20im
Formula2 = -1.299347832494789e-19 + 3.7316040256457144e-20im
-----------------------------------------------------------------
=================================================================
i = 30
lambda = -31.798222432717303 - 36.00948159514057im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.6940658945086007e-21im
Formula2 = 0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.684816902162928e-37 - 5.844911521443703e-37im
Formula2 = 1.6848169021628852e-37 - 5.8449115214437415e-37im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.219433409361137e-37 + 4.381549998720347e-37im
Formula2 = 4.21943340936119e-37 + 4.381549998720331e-37im
-----------------------------------------------------------------
=================================================================
i = 31
lambda = -49.64814103697079 + 27.362202898443172im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.13985604601457016 + 0.004620063164080799im
Formula2 = 0.13985604601457022 + 0.004620063164080866im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.005648356471479901 - 0.019023366716025263im
Formula2 = 0.005648356471479823 - 0.019023366716025253im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.013650540605845281 + 0.014403303551944456im
Formula2 = 0.013650540605845305 + 0.014403303551944389im
-----------------------------------------------------------------
=================================================================
i = 32
lambda = -2.523178763583857 + 34.44599142035274im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.1526130324481368e-23 + 4.709203695511172e-23im
Formula2 = -2.1526130324481606e-23 + 4.709203695511188e-23im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 33
lambda = -49.99946241866131 - 31.403338372654233im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.347024402120485e-41 - 8.586078911295883e-41im
Formula2 = 1.347024402120383e-41 - 8.586078911295898e-41im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.762250255019828e-41 + 5.459596807401824e-41im
Formula2 = 6.76225025501989e-41 + 5.459596807401746e-41im
-----------------------------------------------------------------
=================================================================
i = 34
lambda = -25.087895587080354 - 46.52631282421087im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.2344963276457948e-42 - 2.8603876239120635e-41im
Formula2 = -1.234496327645645e-42 - 2.860387623912075e-41im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.538893163360746e-41 + 1.3232832938940456e-41im
Formula2 = 2.5388931633607473e-41 + 1.323283293894065e-41im
-----------------------------------------------------------------
=================================================================
i = 35
lambda = 36.57125418888954 - 17.313527650384543im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 + 1.6940658945086007e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 8.232989729250222e-27 + 1.2216278543502385e-26im
Formula2 = 8.232989729250267e-27 + 1.2216278543502408e-26im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.4696102423004938e-26 + 1.0218389828758708e-27im
Formula2 = -1.4696102423004978e-26 + 1.0218389828758925e-27im
-----------------------------------------------------------------
=================================================================
i = 36
lambda = -5.234636678094205 - 0.991877070863147im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15952017206008479 - 0.00012849509530435112im
Formula2 = 0.15952017206008479 - 0.00012849509530435133im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -7.133446729945551e-5 + 0.00038054511230221997im
Formula2 = -7.13344672994555e-5 + 0.00038054511230222024im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.0002938945008899969 - 0.0002520500169978687im
Formula2 = -0.00029389450088999696 - 0.0002520500169978689im
-----------------------------------------------------------------
=================================================================
i = 37
lambda = 27.452407484182288 + 38.19456168185921im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.562927521103928e-16 + 3.60099931692903e-16im
Formula2 = 2.5629275211039113e-16 + 3.6009993169290505e-16im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594719 - 0.137832223855448im
Formula2 = 0.07957747154594726 - 0.137832223855448im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594791 + 0.13783222385544755im
Formula2 = 0.07957747154594783 + 0.13783222385544763im
-----------------------------------------------------------------
=================================================================
i = 38
lambda = -33.28511094894948 - 16.280086994725053im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 4.235164736271502e-22im
Formula2 = 0.15915494309189535 + 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 8.125507459458055e-25 - 8.7645716156991e-25im
Formula2 = 8.125507459458036e-25 - 8.764571615699143e-25im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.5275879427544176e-25 + 1.1419181686380178e-24im
Formula2 = 3.527587942754459e-25 + 1.1419181686380184e-24im
-----------------------------------------------------------------
=================================================================
i = 39
lambda = 13.755661573119518 - 33.01165050889017im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 3.377028982161331e-29 - 3.3172034684054106e-28im
Formula2 = 3.3770289821612616e-29 - 3.317203468405418e-28im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.70393102405287e-28 + 1.9510610229895064e-28im
Formula2 = 2.703931024052879e-28 + 1.9510610229895053e-28im
-----------------------------------------------------------------
=================================================================
i = 40
lambda = -26.775474918733664 - 39.07776711107027im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.2066663329035465e-37 + 4.178129931912195e-37im
Formula2 = 2.206666332903581e-37 + 4.178129931912245e-37im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -4.721699827799881e-37 - 1.7803586398577583e-38im
Formula2 = -4.721699827799941e-37 - 1.7803586398577255e-38im
-----------------------------------------------------------------
=================================================================
i = 41
lambda = -28.70780773227095 - 4.996577056630372im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189673 - 1.6595069502606252e-17im
Formula2 = 0.15915494309189673 - 1.6595069502606252e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -6.911113184884614e-16 + 1.2302286370467974e-15im
Formula2 = -6.911113184884611e-16 + 1.2302286370468001e-15im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -7.198535929014018e-16 - 1.213634277177364e-15im
Formula2 = -7.198535929014039e-16 - 1.2136342771773653e-15im
-----------------------------------------------------------------
=================================================================
i = 42
lambda = 18.322446612863246 + 20.94986168403574im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.3061985432025446e-8 - 1.5685896726602202e-8im
Formula2 = -2.3061985432025446e-8 - 1.5685896726602133e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.0795774966613254 - 0.1378322359847649im
Formula2 = 0.07957749666132545 - 0.13783223598476493im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957746949255538 + 0.13783225167066157im
Formula2 = 0.07957746949255531 + 0.13783225167066165im
-----------------------------------------------------------------
=================================================================
i = 43
lambda = 0.05122128059908704 + 6.208233167246192im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.0631782460160979e-5 + 2.004772175328647e-6im
Formula2 = 1.063178246016098e-5 + 2.0047721753286566e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957041947108491 - 0.13782401884783768im
Formula2 = 0.07957041947108498 - 0.13782401884783768im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957389183835027 + 0.13782201407566227im
Formula2 = 0.0795738918383502 + 0.13782201407566236im
-----------------------------------------------------------------
=================================================================
i = 44
lambda = 41.39960091869766 - 2.547040662645884im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 7.000727309056792e-19im
Formula2 = 0.15915494309189535 - 7.013432803265607e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 9.177503041563855e-19 - 1.8922969646331725e-19im
Formula2 = 9.177503041563838e-19 - 1.8922969646331426e-19im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.949974277905414e-19 + 8.894099259619838e-19im
Formula2 = -2.9499742779054347e-19 + 8.894099259619805e-19im
-----------------------------------------------------------------
=================================================================
i = 45
lambda = 33.0111120055016 - 15.056968942193194im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 + 2.541098841762901e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.2419650352633534e-24 - 8.919183848781598e-24im
Formula2 = -3.2419650352633674e-24 - 8.919183848781573e-24im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 9.345222311700404e-24 + 1.6519678456718196e-24im
Formula2 = 9.345222311700387e-24 + 1.6519678456717983e-24im
-----------------------------------------------------------------
=================================================================
i = 46
lambda = 7.8459371493118795 - 17.427555026401542im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189507 - 7.447859061253392e-16im
Formula2 = 0.15915494309189507 - 7.447859061253392e-16im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 7.773169439751626e-16 + 1.4322029302321565e-16im
Formula2 = 7.773169439751632e-16 + 1.4322029302321568e-16im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -5.126908840831371e-16 + 6.015660737629684e-16im
Formula2 = -5.126908840831376e-16 + 6.015660737629685e-16im
-----------------------------------------------------------------
=================================================================
i = 47
lambda = 20.824638540671515 + 11.158961140209513im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.13306603587330465 - 0.026393161940933926im
Formula2 = 0.13306603587330457 - 0.026393161940933912im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.035901602336340724 - 0.0093970754378078im
Formula2 = 0.035901602336340765 - 0.009397075437807866im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.009812695117750023 + 0.03579023737874172im
Formula2 = -0.009812695117749997 + 0.035790237378741784im
-----------------------------------------------------------------
=================================================================
i = 48
lambda = -12.148892958459982 - 25.665947568623526im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 2.117582368135751e-22im
Formula2 = 0.15915494309189535 - 1.6940658945086007e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -8.038490736025573e-23 - 1.5023837010213238e-23im
Formula2 = -8.038490736025612e-23 - 1.5023837010213064e-23im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 5.320347819328937e-23 - 6.210345334973355e-23im
Formula2 = 5.320347819328942e-23 - 6.210345334973395e-23im
-----------------------------------------------------------------
=================================================================
i = 49
lambda = 30.499126135347353 + 24.180447200399072im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 7.87821302859379e-6 - 2.7077783657117956e-6im
Formula2 = 7.878213028593797e-6 - 2.707778365711794e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957587744428586 - 0.13782404723364597im
Formula2 = 0.07957587744428592 - 0.137824047233646im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0795711874345809 + 0.13782675501201164im
Formula2 = 0.07957118743458082 + 0.1378267550120117im
-----------------------------------------------------------------
=================================================================
i = 50
lambda = -30.64581060711531 - 24.56200838392535im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.6940658945086007e-21im
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 3.872314618533572e-29 + 2.71710499405014e-29im
Formula2 = 3.8723146185335996e-29 + 2.717104994050143e-29im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -4.2892392588637726e-29 + 1.994970334070852e-29im
Formula2 = -4.2892392588637894e-29 + 1.9949703340708728e-29im
-----------------------------------------------------------------
=================================================================
i = 51
lambda = 25.25002088266193 - 42.113166124511615im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 8.470329472543003e-22im
Formula2 = 0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.09766828942748e-39 + 1.8394478798630345e-38im
Formula2 = -3.097668289427351e-39 + 1.8394478798630306e-38im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.4381251784274401e-38 - 1.1879898830456853e-38im
Formula2 = -1.4381251784274428e-38 - 1.1879898830456728e-38im
-----------------------------------------------------------------
=================================================================
i = 52
lambda = 30.294913615426182 + 1.7101964939156176im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591549430892437 - 7.917893196056748e-12im
Formula2 = 0.1591549430892437 - 7.917893195209715e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 8.182917544987769e-12 + 1.662557450090378e-12im
Formula2 = 8.18291754498779e-12 + 1.662557450090366e-12im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -5.531275759523229e-12 + 6.255335745987611e-12im
Formula2 = -5.531275759523231e-12 + 6.255335745987633e-12im
-----------------------------------------------------------------
=================================================================
i = 53
lambda = -44.279061399702925 - 20.884513363924697im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 5.545425475626596e-32 - 6.793600551894229e-32im
Formula2 = 5.545425475626574e-32 - 6.793600551894179e-32im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.1107179232910886e-32 + 8.199279612633149e-32im
Formula2 = 3.1107179232910535e-32 + 8.199279612633106e-32im
-----------------------------------------------------------------
=================================================================
i = 54
lambda = 8.584847174370758 + 20.978437759263898im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -8.848669938093427e-13 + 5.745763139921883e-12im
Formula2 = -8.84866993809354e-13 + 5.7457631399218735e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154141409 - 0.13783222385908722im
Formula2 = 0.07957747154141415 - 0.13783222385908725im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747155136613 + 0.1378322238533414im
Formula2 = 0.07957747155136605 + 0.13783222385334148im
-----------------------------------------------------------------
=================================================================
i = 55
lambda = -27.04518035474328 + 3.945715779338421im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.159154945092459 - 3.4446550832960897e-9im
Formula2 = 0.159154945092459 - 3.4446550832952427e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.982876974652821e-9 + 3.454866501335597e-9im
Formula2 = 1.9828769746528298e-9 + 3.4548665013355946e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.983440644166902e-9 - 1.0211418039222172e-11im
Formula2 = -3.983440644166903e-9 - 1.0211418039215128e-11im
-----------------------------------------------------------------
=================================================================
i = 56
lambda = 40.182175192617535 - 6.421116103411187im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.6940658945086007e-21im
Formula2 = 0.15915494309189535 + 2.541098841762901e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.1125196490386567e-21 - 7.770196217908708e-21im
Formula2 = 2.1125196490386006e-21 - 7.770196217908722e-21im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 5.6729274925793804e-21 + 5.714593791015616e-21im
Formula2 = 5.672927492579417e-21 + 5.7145937910155764e-21im
-----------------------------------------------------------------
=================================================================
i = 57
lambda = -13.22112691816342 + 1.2607899332108374im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15916075710521738 + 9.613519523597684e-6im
Formula2 = 0.15916075710521738 + 9.613519523597676e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.1232558788234366e-5 + 2.2832347303085958e-7im
Formula2 = -1.1232558788234371e-5 + 2.2832347303087826e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 5.418545466192165e-6 - 9.841842996628542e-6im
Formula2 = 5.418545466192155e-6 - 9.841842996628554e-6im
-----------------------------------------------------------------
=================================================================
i = 58
lambda = -19.75717589101076 + 8.597486753590445im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1588997543438799 - 0.0023360564050148255im
Formula2 = 0.1588997543438799 - 0.002336056405014823im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.0021506785654239117 + 0.0009470282639660899im
Formula2 = 0.0021506785654239104 + 0.0009470282639660883im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.0018954898174084645 + 0.001389028141048736im
Formula2 = -0.0018954898174084627 + 0.0013890281410487346im
-----------------------------------------------------------------
=================================================================
i = 59
lambda = 44.77521650489351 - 37.718258051716425im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 + 8.470329472543003e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 6.157303527394066e-43 + 3.67806463853676e-44im
Formula2 = 6.15730352739412e-43 + 3.678064638536251e-44im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.397181505070438e-43 + 5.148478041607957e-43im
Formula2 = -3.3971815050704225e-43 + 5.148478041608027e-43im
-----------------------------------------------------------------
=================================================================
i = 60
lambda = -47.629117367953164 - 46.511387521807436im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 6.821643517830151e-50 + 6.952581730092915e-50im
Formula2 = 6.821643517830253e-50 + 6.952581730092907e-50im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -9.431934159063102e-50 + 2.431425716955899e-50im
Formula2 = -9.431934159063147e-50 + 2.431425716955988e-50im
-----------------------------------------------------------------
=================================================================
i = 61
lambda = -1.6589846991997845 - 40.76619639021906im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 1.6940658945086007e-21im
Formula2 = 0.15915494309189535 - 4.235164736271502e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.0273400413494915e-28 - 4.0876668196414737e-29im
Formula2 = 1.027340041349488e-28 - 4.0876668196414305e-29im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.596676898731196e-29 + 1.094085915115689e-28im
Formula2 = -1.5966768987312196e-29 + 1.0940859151156836e-28im
-----------------------------------------------------------------
=================================================================
i = 62
lambda = -40.476396367652455 - 44.61672166194812im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 + 1.6940658945086007e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.4818504625445034e-46 - 7.408071145985087e-46im
Formula2 = -3.4818504625444964e-46 - 7.408071145985137e-46im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 8.156503036737836e-46 + 6.886646202504037e-47im
Formula2 = 8.156503036737874e-46 + 6.886646202504377e-47im
-----------------------------------------------------------------
=================================================================
i = 63
lambda = 38.99704545469491 + 24.825972212256858im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.004456229071195104 + 0.0018652864482807826im
Formula2 = 0.004456229071195108 + 0.0018652864482808058im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07573397156080408 - 0.13490565949885072im
Formula2 = 0.07573397156080411 - 0.13490565949885075im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07896474245989617 + 0.13304037305056987im
Formula2 = 0.07896474245989611 + 0.13304037305056993im
-----------------------------------------------------------------
=================================================================
i = 64
lambda = 5.255215788907549 - 43.94146245929531im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 + 8.470329472543003e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.2766640531774992e-32 + 3.7710521716023377e-32im
Formula2 = -1.2766640531775036e-32 + 3.771052171602335e-32im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.6274949530153493e-32 - 2.99114958795129e-32im
Formula2 = -2.627494953015344e-32 - 2.991149587951293e-32im
-----------------------------------------------------------------
=================================================================
i = 65
lambda = 24.96776321814113 + 23.32859427254408im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.480123334127492e-7 - 1.4633522825144473e-8im
Formula2 = -2.4801233341274947e-7 - 1.4633522825143517e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957760822511685 - 0.1378324313236678im
Formula2 = 0.07957760822511692 - 0.13783243132366782im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957758287911192 + 0.13783244595719055im
Formula2 = 0.07957758287911183 + 0.13783244595719063im
-----------------------------------------------------------------
=================================================================
i = 66
lambda = -37.89868645101528 + 10.691004224035147im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591549381019931 + 6.47121355081741e-9im
Formula2 = 0.1591549381019931 + 6.471213550816139e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.109284214251942e-9 - 7.556988867376406e-9im
Formula2 = -3.109284214251987e-9 - 7.556988867376365e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 8.09918644239013e-9 + 1.0857753165600821e-9im
Formula2 = 8.099186442390116e-9 + 1.0857753165600257e-9im
-----------------------------------------------------------------
=================================================================
i = 67
lambda = 8.969247807322532 - 6.343811347301994im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591549471036024 - 2.922458936828126e-9im
Formula2 = 0.1591549471036024 - 2.922458936828973e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 5.2507014444434e-10 + 4.93546970594293e-9im
Formula2 = 5.250701444443469e-10 + 4.935469705942934e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -4.53677721717726e-9 - 2.0130107691139003e-9im
Formula2 = -4.536777217177266e-9 - 2.0130107691138983e-9im
-----------------------------------------------------------------
=================================================================
i = 68
lambda = 30.387133622540816 - 37.57017749470934im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 1.6940658945086007e-21im
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.7643888732839089e-37 + 9.131882121602225e-38im
Formula2 = -1.7643888732839126e-37 + 9.131882121602339e-38im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 9.135024647470761e-39 - 1.984599692498579e-37im
Formula2 = 9.13502464747004e-39 - 1.984599692498588e-37im
-----------------------------------------------------------------
=================================================================
i = 69
lambda = -21.773224718060558 + 43.34815568772473im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.4185171813561767e-21 + 5.422108738898899e-23im
Formula2 = -1.4185171813561829e-21 + 5.422108738898497e-23im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 70
lambda = -41.74970524654384 + 48.67081732352881im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.5756020098041385e-17 - 8.669340522562853e-19im
Formula2 = 1.5756020098041523e-17 - 8.669340522562216e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.07957747154594769 - 0.13783222385544802im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544794im
Formula2 = 0.07957747154594763 + 0.13783222385544802im
-----------------------------------------------------------------
=================================================================
i = 71
lambda = 21.067103748669453 - 30.85743313472271im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 2.117582368135751e-22im
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.4650229580284105e-30 - 1.4808677404172915e-29im
Formula2 = -2.4650229580284704e-30 - 1.4808677404172822e-29im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.4057202307476546e-29 + 5.269566199521989e-30im
Formula2 = 1.4057202307476493e-29 + 5.269566199521895e-30im
-----------------------------------------------------------------
=================================================================
i = 72
lambda = -35.49607535797372 + 4.959590360558153im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494310396172 - 6.839417558370713e-13im
Formula2 = 0.15915494310396172 - 6.839417545665219e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -5.440877223817655e-12 + 1.0791759300221177e-11im
Formula2 = -5.440877223817612e-12 + 1.0791759300221166e-11im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -6.62549909360969e-12 - 1.0107817544808826e-11im
Formula2 = -6.625499093609697e-12 - 1.0107817544808786e-11im
-----------------------------------------------------------------
=================================================================
i = 73
lambda = 2.4380245340629187 - 9.782590021486179im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591549504308943 - 3.3105912623417947e-9im
Formula2 = 0.1591549504308943 - 3.3105912623417947e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -8.024433476815343e-10 + 8.011055173066045e-9im
Formula2 = -8.024433476815275e-10 + 8.011055173066049e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -6.5365556171531714e-9 - 4.700463910723058e-9im
Formula2 = -6.536555617153175e-9 - 4.700463910723056e-9im
-----------------------------------------------------------------
=================================================================
i = 74
lambda = -0.035053003775374236 + 8.682433856645822im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -6.893350925694045e-7 + 4.028858287930563e-8im
Formula2 = -6.893350925694057e-7 + 4.028858287930572e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957778132255766 - 0.13783284098144136im
Formula2 = 0.07957778132255772 - 0.13783284098144136im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957785110443026 + 0.13783280069285841im
Formula2 = 0.07957785110443018 + 0.13783280069285847im
-----------------------------------------------------------------
=================================================================
i = 75
lambda = -40.24435452997799 + 0.6533775803623456im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189504 - 6.001059024707267e-17im
Formula2 = 0.15915494309189504 - 6.001228431296718e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.039638533549643e-16 - 2.332501491334779e-16im
Formula2 = 2.0396385335496332e-16 - 2.332501491334777e-16im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.0001862790861867e-16 + 2.9326295302590193e-16im
Formula2 = 1.0001862790861882e-16 + 2.9326295302590094e-16im
-----------------------------------------------------------------
=================================================================
i = 76
lambda = -21.897171246396297 - 7.096685088723412im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309191444 + 1.094408241873561e-14im
Formula2 = 0.15915494309191444 + 1.094408241873561e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.9036999492115052e-14 + 1.1084885722306936e-14im
Formula2 = -1.903699949211513e-14 + 1.1084885722307021e-14im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -8.129288750770145e-17 - 2.2028968033156557e-14im
Formula2 = -8.129288750772769e-17 - 2.2028968033156668e-14im
-----------------------------------------------------------------
=================================================================
i = 77
lambda = 33.30609459749789 + 35.86686170826323im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 3.154577163662053e-13 + 2.287258482618251e-12im
Formula2 = 3.154577163662025e-13 + 2.2872584826182462e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154380908 - 0.13783222385631846im
Formula2 = 0.07957747154380915 - 0.13783222385631846im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154777081 + 0.13783222385403113im
Formula2 = 0.07957747154777074 + 0.1378322238540312im
-----------------------------------------------------------------
=================================================================
i = 78
lambda = 16.927443783962445 - 18.221486157127554im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 7.115076756936123e-20im
Formula2 = 0.15915494309189535 - 7.009197638529335e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 9.06642811773548e-20 - 1.7071815683587035e-20im
Formula2 = 9.066428117735462e-20 - 1.7071815683587203e-20im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.0547514517965405e-20 + 8.705347855723809e-20im
Formula2 = -3.05475145179652e-20 + 8.705347855723799e-20im
-----------------------------------------------------------------
=================================================================
i = 79
lambda = 46.61458274369623 + 0.8260213683484636im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 7.369186641112413e-19im
Formula2 = 0.15915494309189535 - 7.381892135321227e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -7.838311475917908e-20 + 1.6113818838886364e-18im
Formula2 = -7.838311475916388e-20 + 1.6113818838886416e-18im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.3563060892659963e-18 - 8.735727105535179e-19im
Formula2 = -1.3563060892660078e-18 - 8.735727105535078e-19im
-----------------------------------------------------------------
=================================================================
i = 80
lambda = 13.0356120369592 - 33.28426961397149im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.084309970509408e-28 - 6.30544950677026e-29im
Formula2 = 4.084309970509416e-28 - 6.305449506770356e-29im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.4960870397403929e-28 + 3.852388666729732e-28im
Formula2 = -1.4960870397403893e-28 + 3.852388666729742e-28im
-----------------------------------------------------------------
=================================================================
i = 81
lambda = 28.619000101398996 - 44.99238985217087im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 - 1.6940658945086007e-21im
Formula2 = 0.15915494309189535 - 4.235164736271502e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 9.137619134869141e-42 - 9.83926239247812e-42im
Formula2 = 9.137619134869169e-42 - 9.839262392478105e-42im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.9522416189523384e-42 + 1.2833041497142519e-41im
Formula2 = 3.952241618952306e-42 + 1.2833041497142537e-41im
-----------------------------------------------------------------
=================================================================
i = 82
lambda = 28.599853883310942 + 29.914233832659207im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -6.307789790045255e-11 + 2.890900236945956e-10im
Formula2 = -6.307789790045276e-11 + 2.8909002369459545e-10im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747132712728 - 0.1378322240546201im
Formula2 = 0.07957747132712734 - 0.13783222405462012im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747182784597 + 0.13783222376553im
Formula2 = 0.0795774718278459 + 0.1378322237655301im
-----------------------------------------------------------------
=================================================================
i = 83
lambda = -18.186611879296354 + 2.639856820543997im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1591537729396857 - 2.920270598239639e-7im
Formula2 = 0.1591537729396857 - 2.9202705982395546e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 8.379789572258332e-7 - 8.673680099408053e-7im
Formula2 = 8.379789572258304e-7 - 8.673680099408056e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.3217325242577443e-7 + 1.1593950697647675e-6im
Formula2 = 3.321732524257757e-7 + 1.1593950697647654e-6im
-----------------------------------------------------------------
=================================================================
i = 84
lambda = 20.39259239838688 + 15.564712692069918im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.00030839189000395403 + 0.0004442232895891594im
Formula2 = -0.00030839189000395615 + 0.00044422328958915815im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07934695883721271 - 0.13832141071130713im
Formula2 = 0.07934695883721277 - 0.13832141071130713im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0801163761446866 + 0.1378771874217179im
Formula2 = 0.08011637614468652 + 0.13787718742171798im
-----------------------------------------------------------------
=================================================================
i = 85
lambda = -7.672235315618849 + 46.27438978892353im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -8.438659497624433e-29 + 2.3397316225333968e-29im
Formula2 = -8.438659497624372e-29 + 2.339731622533382e-29im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 86
lambda = 12.01918012623593 + 4.89642319469079im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.1538375091439372 - 0.004833312581987538im
Formula2 = 0.1538375091439372 - 0.0048333125819875365im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.006844488454411228 - 0.002188376590883751im
Formula2 = 0.006844488454411234 - 0.0021883765908837583im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.0015270545064530988 + 0.007021689172871288im
Formula2 = -0.0015270545064530975 + 0.007021689172871295im
-----------------------------------------------------------------
=================================================================
i = 87
lambda = -6.850216642938037 + 39.180952275568075im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.2215679520137581e-24 - 1.3156742135519107e-24im
Formula2 = -1.2215679520137605e-24 - 1.3156742135519111e-24im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 88
lambda = 20.797043489425164 - 46.58368714282193im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 + 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.0382971060786536e-39 - 2.9596807977464345e-40im
Formula2 = 1.0382971060786507e-39 - 2.959680797746467e-40im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.6283267724518605e-40 + 1.047175710427302e-39im
Formula2 = -2.6283267724518214e-40 + 1.0471757104273008e-39im
-----------------------------------------------------------------
=================================================================
i = 89
lambda = 9.427260455798844 - 4.316567319704603im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915487341391682 - 4.839352868128476e-9im
Formula2 = 0.15915487341391682 - 4.839352868129111e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 3.9029991780811355e-8 - 5.792322304710364e-8im
Formula2 = 3.902999178081127e-8 - 5.7923223047103565e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.064798673745836e-8 + 6.276257591523229e-8im
Formula2 = 3.0647986737458316e-8 + 6.276257591523217e-8im
-----------------------------------------------------------------
=================================================================
i = 90
lambda = 6.069734661417847 - 32.01797986237287im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.6940658945086007e-21im
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.12178886287504e-24 + 2.5769077306792416e-25im
Formula2 = -1.1217888628750384e-24 + 2.5769077306792246e-25im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.377276756398466e-25 - 1.100343039466205e-24im
Formula2 = 3.377276756398476e-25 - 1.1003430394662023e-24im
-----------------------------------------------------------------
=================================================================
i = 91
lambda = 11.027084829500808 - 5.250513468412031im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494288005486 + 4.300240916835797e-9im
Formula2 = 0.15915494288005486 + 4.300240916833679e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.6181976424724627e-9 - 2.333579685083795e-9im
Formula2 = -3.6181976424724565e-9 - 2.3335796850838044e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.830038110274087e-9 - 1.966661231752222e-9im
Formula2 = 3.830038110274093e-9 - 1.96666123175221e-9im
-----------------------------------------------------------------
=================================================================
i = 92
lambda = -28.746895222197534 - 48.704880694534495im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.6940658945086007e-21im
Formula2 = 0.15915494309189535 + 6.776263578034403e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.8577476140799075e-44 + 4.1928525315047205e-44im
Formula2 = -1.8577476140798966e-44 + 4.19285253150473e-44im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.702242999565028e-44 - 3.7052828933654887e-44im
Formula2 = -2.70224299956504e-44 - 3.7052828933654847e-44im
-----------------------------------------------------------------
=================================================================
i = 93
lambda = 4.192257361746513 + 3.592335707038721im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.014941632216946787 - 0.020162457930781565im
Formula2 = 0.014941632216946799 - 0.020162457930781568im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.0895678562082661 - 0.11481116181617733im
Formula2 = 0.08956785620826616 - 0.11481116181617732im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.05464545466668246 + 0.13497361974695885im
Formula2 = 0.05464545466668238 + 0.1349736197469589im
-----------------------------------------------------------------
=================================================================
i = 94
lambda = -22.07478253571975 + 42.18943182303585im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -9.132327947963155e-21 - 5.1435838587982925e-21im
Formula2 = -9.132327947963152e-21 - 5.14358385879828e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 95
lambda = 8.33812199185622 + 46.29192137807172im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -4.288196042743319e-29 - 1.456575510796446e-28im
Formula2 = -4.288196042743334e-29 - 1.4565755107964488e-28im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 96
lambda = -16.505521287331163 + 18.70263221035306im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.0024482594388469e-7 + 1.3516572603106863e-7im
Formula2 = 1.0024482594388534e-7 + 1.351657260310687e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.0795773043665822 - 0.13783220462374518im
Formula2 = 0.07957730436658225 - 0.13783220462374518im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957753848048721 + 0.13783206945801907im
Formula2 = 0.07957753848048714 + 0.13783206945801915im
-----------------------------------------------------------------
=================================================================
i = 97
lambda = -11.09826837259591 - 29.082426389164052im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535 + 1.6940658945086007e-21im
Formula2 = 0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.284049585103617e-25 - 1.1297124678047272e-24im
Formula2 = 4.284049585103635e-25 - 1.129712467804727e-24im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 7.641572168357229e-25 + 9.35865811079555e-25im
Formula2 = 7.641572168357212e-25 + 9.358658110795567e-25im
-----------------------------------------------------------------
=================================================================
i = 98
lambda = -13.76610201197441 - 46.51926414968371im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.15915494309189535
Formula2 = 0.15915494309189535 - 3.3881317890172014e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 5.0690206793316365e-37 + 1.3432700889056733e-37im
Formula2 = 5.06902067933162e-37 + 1.3432700889056033e-37im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.6978163608019117e-37 + 3.7182656361570142e-37im
Formula2 = -3.6978163608018437e-37 + 3.7182656361570326e-37im
-----------------------------------------------------------------
=================================================================
i = 99
lambda = 5.132038725797791 + 32.32696579571032im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.1778969976418999e-20 + 1.0556159352088176e-21im
Formula2 = 1.1778969976419023e-20 + 1.0556159352087858e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 100
lambda = 15.410143427380447 + 18.058437543034984im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.7127619759658948e-7 - 1.3653434781726968e-9im
Formula2 = -1.7127619759659016e-7 - 1.365343478172616e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957755836646857 - 0.13783237150231448im
Formula2 = 0.07957755836646863 - 0.13783237150231448im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957755600162437 + 0.13783237286765787im
Formula2 = 0.0795775560016243 + 0.13783237286765795im
-----------------------------------------------------------------
=================================================================
Out[191]:
true
In [192]:
test_formula(FMinusFormula, FMinusSymGeneric)
i = 1
lambda = -18.925270810333107 + 40.577697835227866im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 - 2.964615315390051e-21im
Formula2 = -0.15915494309189535 - 1.6940658945086007e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 2
lambda = -14.324193683558462 - 25.925006531299143im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -3.603656349785609e-24 - 7.618532653206595e-24im
Formula2 = -3.603656349785617e-24 - 7.618532653206594e-24im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 8.399670992130976e-24 + 6.884083811798579e-25im
Formula2 = 8.39967099213098e-24 + 6.884083811798525e-25im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -4.7960146423453644e-24 + 6.930124272026736e-24im
Formula2 = -4.7960146423453644e-24 + 6.930124272026741e-24im
-----------------------------------------------------------------
=================================================================
i = 3
lambda = 29.016781636658664 - 14.293066438942063im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.3906549289497883e-22 + 9.182835030877306e-22im
Formula2 = 2.3906549289498183e-22 + 9.182835030877287e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -9.1478958799763e-22 - 2.5210496152856517e-22im
Formula2 = -9.1478958799763e-22 - 2.5210496152856197e-22im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.757240951026509e-22 - 6.661785415591654e-22im
Formula2 = 6.757240951026483e-22 - 6.661785415591667e-22im
-----------------------------------------------------------------
=================================================================
i = 4
lambda = -25.022536701166786 - 49.08660886317349im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 6.29118813464796e-43 + 1.670510352703114e-43im
Formula2 = 6.291188134647971e-43 + 1.6705103527031087e-43im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.592298470049778e-43 + 4.613073568240813e-43im
Formula2 = -4.592298470049781e-43 + 4.613073568240825e-43im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.6988896645981835e-43 - 6.283583920943925e-43im
Formula2 = -1.6988896645981893e-43 - 6.283583920943934e-43im
-----------------------------------------------------------------
=================================================================
i = 5
lambda = -25.026479695224936 - 35.50182485010802im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 3.945285323105928e-34 - 2.344297275705492e-34im
Formula2 = 3.945285323105902e-34 - 2.3442972757055293e-34im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 5.757833323064531e-36 + 4.588865952840376e-34im
Formula2 = 5.7578333230689065e-36 + 4.588865952840374e-34im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -4.002863656336573e-34 - 2.244568677134883e-34im
Formula2 = -4.002863656336591e-34 - 2.2445686771348447e-34im
-----------------------------------------------------------------
=================================================================
i = 6
lambda = -15.455814793601228 - 33.64075542580254im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.2495921196357296e-29 - 1.9494422855086782e-29im
Formula2 = 2.2495921196357198e-29 - 1.9494422855086768e-29im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 5.634704826442478e-30 + 2.9229250665121626e-29im
Formula2 = 5.634704826442508e-30 + 2.922925066512154e-29im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.8130626022799767e-29 - 9.734827810034835e-30im
Formula2 = -2.8130626022799705e-29 - 9.734827810034777e-30im
-----------------------------------------------------------------
=================================================================
i = 7
lambda = -19.562666561582166 - 19.211745353541044im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.3127853411888174e-21 - 1.6797921800053985e-21im
Formula2 = 1.312785341188815e-21 - 1.6797921800054043e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 7.983500303687094e-22 + 1.976801545188037e-21im
Formula2 = 7.983500303687152e-22 + 1.9768015451880383e-21im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.1111353715575264e-21 - 2.970093651826374e-22im
Formula2 = -2.11113537155753e-21 - 2.97009365182634e-22im
-----------------------------------------------------------------
=================================================================
i = 8
lambda = -3.9721051830345004 - 42.579891028222946im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 7.950716066544596e-31 - 4.852083486635394e-31im
Formula2 = 7.950716066544607e-31 - 4.852083486635432e-31im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.2666952743692818e-32 + 9.311563835222404e-31im
Formula2 = 2.2666952743695317e-32 + 9.311563835222436e-31im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -8.177385593981522e-31 - 4.459480348587006e-31im
Formula2 = -8.17738559398156e-31 - 4.459480348587003e-31im
-----------------------------------------------------------------
=================================================================
i = 9
lambda = -40.3708964900994 - 44.96636190237426im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -7.763750449613731e-47 + 5.251222260179674e-46im
Formula2 = -7.763750449613652e-47 + 5.251222260179688e-46im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.159504355753248e-46 - 3.297971641890671e-46im
Formula2 = -4.159504355753265e-46 - 3.297971641890673e-46im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.93587940071462e-46 - 1.953250618289004e-46im
Formula2 = 4.93587940071463e-46 - 1.953250618289015e-46im
-----------------------------------------------------------------
=================================================================
i = 10
lambda = -0.4013652262323717 + 8.652964814099917im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591555528002671 + 4.703400431615064e-7im
Formula2 = -0.1591555528002671 + 4.7034004316150553e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957736907370773 - 0.13783298704840846im
Formula2 = 0.07957736907370778 - 0.13783298704840846im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0795781837265594 + 0.13783251670836524im
Formula2 = 0.07957818372655932 + 0.1378325167083653im
-----------------------------------------------------------------
=================================================================
i = 11
lambda = 32.76814680258798 - 8.442863584618124im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.381599185197964e-19 - 1.1301106372933632e-20im
Formula2 = -2.3815991851979676e-19 - 1.1301106372933753e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.2886700446972886e-19 - 2.0060198641490885e-19im
Formula2 = 1.2886700446972927e-19 - 2.0060198641490918e-19im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.0929291405006752e-19 + 2.119030927878424e-19im
Formula2 = 1.092929140500675e-19 + 2.1190309278784292e-19im
-----------------------------------------------------------------
=================================================================
i = 12
lambda = -42.378480938153594 + 19.912699454400624im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -5.824636344461873e-5 - 0.00016146881277235396im
Formula2 = -5.8246363444618874e-5 - 0.00016146881277235306im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.00016895927550208113 + 3.0291575965075833e-5im
Formula2 = 0.00016895927550208045 + 3.0291575965075325e-5im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -0.00011071291205746232 + 0.0001311772368072781im
Formula2 = -0.00011071291205746158 + 0.00013117723680727773im
-----------------------------------------------------------------
=================================================================
i = 13
lambda = -27.946671473427067 + 22.465223808187787im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15914532876916104 - 7.127829756652841e-6im
Formula2 = -0.15914532876916104 - 7.1278297566528165e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.0795788372662236 - 0.1378203336928416im
Formula2 = 0.07957883726622365 - 0.13782033369284163im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07956649150293746 + 0.1378274615225982im
Formula2 = 0.07956649150293738 + 0.13782746152259828im
-----------------------------------------------------------------
=================================================================
i = 14
lambda = -16.699582058582287 - 34.71769802284177im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.9673792203155797e-30 + 4.377806097851174e-31im
Formula2 = 1.9673792203155938e-30 + 4.3778060978510735e-31im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.3628187395159436e-30 + 1.4849100787783555e-30im
Formula2 = -1.3628187395159425e-30 + 1.4849100787783727e-30im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -6.045604807996366e-31 - 1.9226906885634722e-30im
Formula2 = -6.045604807996511e-31 - 1.92269068856348e-30im
-----------------------------------------------------------------
=================================================================
i = 15
lambda = -4.678311785819233 - 43.31769632725959im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.6587197542305778e-31 - 2.1302761395684728e-32im
Formula2 = 1.6587197542305682e-31 - 2.1302761395685754e-32im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -6.448725517210743e-32 + 1.5430072519011847e-31im
Formula2 = -6.448725517210613e-32 + 1.5430072519011816e-31im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.0138472025095035e-31 - 1.3299796379443367e-31im
Formula2 = -1.013847202509507e-31 - 1.3299796379443243e-31im
-----------------------------------------------------------------
=================================================================
i = 16
lambda = -23.411675416318122 - 2.49388635311891im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 5.204610782722133e-12 + 2.8070411616490238e-12im
Formula2 = 5.204610782722134e-12 + 2.807041161648996e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -5.033274346817701e-12 + 3.1038045738232673e-12im
Formula2 = -5.0332743468176796e-12 + 3.103804573823282e-12im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.713364359044334e-13 - 5.91084573547229e-12im
Formula2 = -1.713364359044543e-13 - 5.910845735472278e-12im
-----------------------------------------------------------------
=================================================================
i = 17
lambda = -17.05644972245932 - 20.6630342380439im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.9826771700363377e-21 + 7.453328767550498e-22im
Formula2 = 1.9826771700363305e-21 + 7.4533287675504825e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.6368157905637776e-21 + 1.344382358377383e-21im
Formula2 = -1.6368157905637737e-21 + 1.3443823583773775e-21im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.4586137947256058e-22 - 2.089715235132432e-21im
Formula2 = -3.4586137947255695e-22 - 2.0897152351324258e-21im
-----------------------------------------------------------------
=================================================================
i = 18
lambda = -38.81674784609508 + 15.074526177101205im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.1581025938509335e-6 + 2.3793680074906533e-6im
Formula2 = 1.1581025938509424e-6 + 2.379368007490628e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.6396444363643346e-6 - 1.867377372817656e-7im
Formula2 = -2.639644436364318e-6 - 1.8673773728174594e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.4815418425134003e-6 - 2.1926302702088875e-6im
Formula2 = 1.4815418425133755e-6 - 2.192630270208882e-6im
-----------------------------------------------------------------
=================================================================
i = 19
lambda = 35.596588837699116 - 28.3452751275717im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.9836918076450954e-33 - 1.018593971804664e-33im
Formula2 = -1.9836918076451033e-33 - 1.018593971804671e-33im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.8739741595470765e-33 - 1.2086305127973951e-33im
Formula2 = 1.8739741595470874e-33 - 1.2086305127973982e-33im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.0971764809801945e-34 + 2.2272244846020586e-33im
Formula2 = 1.097176480980158e-34 + 2.2272244846020692e-33im
-----------------------------------------------------------------
=================================================================
i = 20
lambda = -24.39216031315061 + 46.423014547092606im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535
Formula2 = -0.15915494309189535 - 8.470329472543003e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 21
lambda = 21.31548506818099 + 31.51146548611419im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189063 - 4.885267266673682e-14im
Formula2 = -0.15915494309189063 - 4.8852670972670924e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154598759 - 0.13783222385541952im
Formula2 = 0.07957747154598764 - 0.13783222385541952im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154590306 + 0.1378322238554683im
Formula2 = 0.07957747154590297 + 0.13783222385546837im
-----------------------------------------------------------------
=================================================================
i = 22
lambda = 13.146559661382675 + 9.01770077581456im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1611379901048273 - 0.01896132043349175im
Formula2 = -0.16113799010482727 - 0.018961320433491732im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.09698998023711443 - 0.13006893272880007im
Formula2 = 0.09698998023711447 - 0.13006893272880007im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0641480098677129 + 0.14903025316229176im
Formula2 = 0.0641480098677128 + 0.1490302531622918im
-----------------------------------------------------------------
=================================================================
i = 23
lambda = -28.722740636869972 - 25.488431926480093im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.750638658906318e-29 + 5.592970376606858e-29im
Formula2 = 2.750638658906324e-29 + 5.592970376606868e-29im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -6.218973758208517e-29 - 4.1436223305899645e-30im
Formula2 = -6.21897375820853e-29 - 4.143622330589985e-30im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.4683350993021964e-29 - 5.178608143547861e-29im
Formula2 = 3.4683350993022064e-29 - 5.17860814354787e-29im
-----------------------------------------------------------------
=================================================================
i = 24
lambda = -18.545391326561568 + 42.41677052227955im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 + 1.6940658945086007e-21im
Formula2 = -0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 25
lambda = 21.56655069587012 + 11.980740416728494im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.04796990800913341 + 0.0306500558512207im
Formula2 = -0.04796990800913348 + 0.030650055851220683im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -0.0025587729900023127 - 0.056868186878722485im
Formula2 = -0.002558772990002248 - 0.056868186878722554im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.05052868099913572 + 0.02621813102750176im
Formula2 = 0.050528680999135725 + 0.026218131027501868im
-----------------------------------------------------------------
=================================================================
i = 26
lambda = 32.216821747945446 + 20.24600783537818im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15310239409131224 - 0.011513171650649107im
Formula2 = -0.15310239409131216 - 0.011513171650648952im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.08652189617324903 - 0.1268339768379684im
Formula2 = 0.08652189617324892 - 0.12683397683796843im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.06658049791806323 + 0.13834714848861746im
Formula2 = 0.06658049791806324 + 0.13834714848861737im
-----------------------------------------------------------------
=================================================================
i = 27
lambda = 28.63002685133938 - 40.39328872754548im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.062588234936383e-38 - 7.797125382077905e-39im
Formula2 = 1.0625882349363714e-38 - 7.79712538207786e-39im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.4395674826900014e-39 + 1.3100846743212702e-38im
Formula2 = 1.4395674826900165e-39 + 1.3100846743212584e-38im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.2065449832053829e-38 - 5.303721361134792e-39im
Formula2 = -1.206544983205373e-38 - 5.303721361134723e-39im
-----------------------------------------------------------------
=================================================================
i = 28
lambda = 31.34040110298588 + 46.272132882172im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 + 6.585681164902185e-20im
Formula2 = -0.15915494309189535 + 6.522153693858113e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 29
lambda = 43.237418973070234 + 48.70492463789728im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189537 + 3.99647085173524e-17im
Formula2 = -0.15915494309189537 + 3.9962167418510636e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594762 - 0.13783222385544808im
Formula2 = 0.07957747154594767 - 0.13783222385544808im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594777 + 0.13783222385544797im
Formula2 = 0.0795774715459477 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 30
lambda = 12.584427015867902 - 14.965305954579279im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 8.184797693366097e-17 + 5.179771795809991e-16im
Formula2 = 8.184797693366148e-17 + 5.179771795809982e-16im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.895053845645899e-16 - 1.8810616251758626e-16im
Formula2 = -4.895053845645895e-16 - 1.8810616251758555e-16im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.0765740763092875e-16 - 3.2987101706341286e-16im
Formula2 = 4.07657407630928e-16 - 3.298710170634126e-16im
-----------------------------------------------------------------
=================================================================
i = 31
lambda = 44.595091619680275 - 41.74711176920671im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.620892204257302e-46 + 1.691195874638146e-45im
Formula2 = -2.620892204257335e-46 + 1.6911958746381386e-45im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.3335739799992124e-45 - 1.0725738602658145e-45im
Formula2 = -1.3335739799992043e-45 - 1.0725738602658142e-45im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.595663200424942e-45 - 6.18622014372332e-46im
Formula2 = 1.595663200424938e-45 - 6.186220143723244e-46im
-----------------------------------------------------------------
=================================================================
i = 32
lambda = 25.931028822524624 - 3.2008021387991406im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.0055330590112164e-13 + 1.1478936699681015e-13im
Formula2 = -2.0055330590112113e-13 + 1.1478936699680967e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 8.661450469881401e-16 - 2.3107894122172797e-13im
Formula2 = 8.661450469883721e-16 - 2.3107894122172736e-13im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.9968716085413346e-13 + 1.1628957422491774e-13im
Formula2 = 1.9968716085413276e-13 + 1.162895742249177e-13im
-----------------------------------------------------------------
=================================================================
i = 33
lambda = -22.384996411495894 - 43.05913897956242im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.5687586380928218e-39 + 5.38996061263488e-38im
Formula2 = 2.5687586380930065e-39 + 5.389960612634861e-38im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.796280747843983e-38 - 2.4725192826395287e-38im
Formula2 = -4.796280747843978e-38 - 2.472519282639505e-38im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.539404884034699e-38 - 2.9174413299953513e-38im
Formula2 = 4.5394048840346766e-38 - 2.917441329995356e-38im
-----------------------------------------------------------------
=================================================================
i = 34
lambda = -26.149808094394956 + 7.988321473573443im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.643050650333773e-6 + 3.3374993646353688e-6im
Formula2 = 1.6430506503337802e-6 + 3.3374993646353887e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.711884560055539e-6 - 2.4582607942409324e-7im
Formula2 = -3.711884560055561e-6 - 2.4582607942409816e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.0688339097217645e-6 - 3.0916732852112754e-6im
Formula2 = 2.0688339097217806e-6 - 3.0916732852112906e-6im
-----------------------------------------------------------------
=================================================================
i = 35
lambda = 25.272230824011487 - 47.54163617865819im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.0787217738635075e-42 - 4.899241897914307e-42im
Formula2 = -2.0787217738635282e-42 - 4.899241897914273e-42im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 5.282228829810631e-42 + 6.493950853915037e-43im
Formula2 = 5.282228829810613e-42 + 6.493950853914703e-43im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.2035070559471213e-42 + 4.249846812522803e-42im
Formula2 = -3.203507055947085e-42 + 4.249846812522803e-42im
-----------------------------------------------------------------
=================================================================
i = 36
lambda = 0.003076994457515525 - 14.390364963521442im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 5.721945883304888e-11 - 5.3891853607610986e-14im
Formula2 = 5.7219458833048866e-11 - 5.38918536076826e-14im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.85630577022432e-11 + 4.9580450867022025e-11im
Formula2 = -2.8563057702243156e-11 + 4.958045086702206e-11im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.865640113080568e-11 - 4.9526559013414394e-11im
Formula2 = -2.865640113080571e-11 - 4.9526559013414375e-11im
-----------------------------------------------------------------
=================================================================
i = 37
lambda = 13.504343800226337 + 32.27204559348695im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189532 + 6.115577879176048e-19im
Formula2 = -0.15915494309189532 + 6.124048208648591e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594762 - 0.137832223855448im
Formula2 = 0.07957747154594769 - 0.13783222385544802im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544794im
Formula2 = 0.07957747154594763 + 0.13783222385544802im
-----------------------------------------------------------------
=================================================================
i = 38
lambda = 36.58439033525387 + 35.11184659365834im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494298979596 - 6.775109117358854e-11im
Formula2 = -0.15915494298979596 - 6.775109117528261e-11im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747155357212 - 0.13783222373315182im
Formula2 = 0.07957747155357217 - 0.13783222373315185im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747143622387 + 0.13783222380090285im
Formula2 = 0.07957747143622379 + 0.13783222380090293im
-----------------------------------------------------------------
=================================================================
i = 39
lambda = -17.62447594286416 + 40.32637866067263im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 - 8.470329472543003e-22im
Formula2 = -0.15915494309189535 - 8.470329472543003e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 40
lambda = -42.057867500869726 - 24.03384336427321im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -4.940532290847453e-33 - 2.0018991818166757e-33im
Formula2 = -4.940532290847463e-33 - 2.0018991818166535e-33im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 4.203961692692249e-33 - 3.277676881182886e-33im
Formula2 = 4.203961692692237e-33 - 3.277676881182906e-33im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 7.365705981552048e-34 + 5.27957606299956e-33im
Formula2 = 7.365705981552259e-34 + 5.279576062999559e-33im
-----------------------------------------------------------------
=================================================================
i = 41
lambda = -15.750189246728866 + 39.079096436889714im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 - 6.352747104407253e-22im
Formula2 = -0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 42
lambda = -7.078530225169402 - 37.98827071636739im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.435895691738559e-29 + 6.0310946349559e-29im
Formula2 = -1.4358956917385314e-29 + 6.031094634955874e-29im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.505133320630567e-29 - 4.2590694637081703e-29im
Formula2 = -4.5051333206305574e-29 - 4.2590694637081356e-29im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 5.941029012369124e-29 - 1.7720251712477316e-29im
Formula2 = 5.941029012369088e-29 - 1.7720251712477384e-29im
-----------------------------------------------------------------
=================================================================
i = 43
lambda = 0.03217700621658537 + 37.80429853446773im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535
Formula2 = -0.15915494309189535 - 8.470329472543003e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 44
lambda = 38.80463951999002 - 30.876284246463047im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.691851286300632e-36 + 2.610784201765891e-36im
Formula2 = 1.6918512863006318e-36 + 2.610784201765899e-36im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.106931085678655e-36 + 1.5979409247878205e-37im
Formula2 = -3.106931085678663e-36 + 1.5979409247877698e-37im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.4150797993780215e-36 - 2.7705782942446724e-36im
Formula2 = 1.4150797993780307e-36 - 2.7705782942446757e-36im
-----------------------------------------------------------------
=================================================================
i = 45
lambda = -8.63353013209025 + 25.455415149660496im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309188932 + 4.206587538697036e-15im
Formula2 = -0.15915494309188932 + 4.206586691664089e-15im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594097 - 0.1378322238554449im
Formula2 = 0.07957747154594104 - 0.1378322238554449im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594835 + 0.13783222385544064im
Formula2 = 0.07957747154594827 + 0.13783222385544072im
-----------------------------------------------------------------
=================================================================
i = 46
lambda = -22.126284519448692 - 29.828564052034046im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.806567626351213e-29 + 7.509273492371213e-31im
Formula2 = 2.80656762635123e-29 + 7.509273492370006e-31im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.4683160292591914e-29 + 2.3930124943972867e-29im
Formula2 = -1.4683160292591906e-29 + 2.3930124943973074e-29im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.3382515970920218e-29 - 2.4681052293209977e-29im
Formula2 = -1.3382515970920392e-29 - 2.4681052293210075e-29im
-----------------------------------------------------------------
=================================================================
i = 47
lambda = -2.6918883647559824 + 48.413076855116884im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 + 8.470329472543003e-22im
Formula2 = -0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 48
lambda = 8.104644872602073 + 16.96863981194315im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1591549443204715 - 9.779543742419622e-10im
Formula2 = -0.1591549443204715 - 9.779543742402682e-10im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747300716904 - 0.137832224430449im
Formula2 = 0.07957747300716911 - 0.137832224430449im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747131330246 + 0.1378322254084033im
Formula2 = 0.0795774713133024 + 0.1378322254084034im
-----------------------------------------------------------------
=================================================================
i = 49
lambda = -26.844199930917313 - 31.746212146100206im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.773878541535449e-32 - 1.9801691297496263e-32im
Formula2 = 1.773878541535433e-32 - 1.9801691297496217e-32im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 8.279374993851766e-33 + 2.526308445072601e-32im
Formula2 = 8.279374993851801e-33 + 2.526308445072586e-32im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -2.601816040920625e-32 - 5.46139315322974e-33im
Formula2 = -2.6018160409206134e-32 - 5.461393153229643e-33im
-----------------------------------------------------------------
=================================================================
i = 50
lambda = 13.430672659060946 + 48.29202564117605im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535
Formula2 = -0.15915494309189535 - 8.470329472543003e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 51
lambda = -13.697496745622303 - 22.011085303455637im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 4.658837321104031e-21 + 2.1756071269568953e-21im
Formula2 = 4.6588373211040154e-21 + 2.1756071269568837e-21im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.2135497011511625e-21 + 2.9468679086966842e-21im
Formula2 = -4.213549701151147e-21 + 2.9468679086966763e-21im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -4.452876199528699e-22 - 5.122475035653578e-21im
Formula2 = -4.45287619952869e-22 - 5.12247503565356e-21im
-----------------------------------------------------------------
=================================================================
i = 52
lambda = 6.845270520197566 + 3.082693542152313im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 0.03379430086555139 + 0.04156460985757048im
Formula2 = 0.033794300865551394 + 0.041564609857570475im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -0.052893158467820826 + 0.008484418123916714im
Formula2 = -0.05289315846782084 + 0.00848441812391671im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.01909885760226942 - 0.050049027981487186im
Formula2 = 0.019098857602269446 - 0.050049027981487186im
-----------------------------------------------------------------
=================================================================
i = 53
lambda = 15.372342855255866 - 6.096841243445915im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.4616042927639068e-11 + 2.3975702568253624e-11im
Formula2 = -1.4616042927639006e-11 + 2.3975702568253598e-11im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -1.3455546033867917e-11 - 2.464571576226612e-11im
Formula2 = -1.3455546033867925e-11 - 2.4645715762266065e-11im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.8071588961506978e-11 + 6.700131940124883e-13im
Formula2 = 2.807158896150693e-11 + 6.700131940124651e-13im
-----------------------------------------------------------------
=================================================================
i = 54
lambda = -46.02818727785789 + 33.930068757349076im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915237273745259 + 2.567159606921393e-8im
Formula2 = -0.15915237273745259 + 2.567159606922833e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957616413647191 - 0.13783001069900191im
Formula2 = 0.07957616413647196 - 0.13783001069900191im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957620860098069 + 0.13782998502740576im
Formula2 = 0.07957620860098062 + 0.13782998502740584im
-----------------------------------------------------------------
=================================================================
i = 55
lambda = 24.961700043410076 - 23.652138249767553im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.4910394785443025e-26 + 5.154360244565703e-27im
Formula2 = -2.4910394785443128e-26 + 5.154360244565752e-27im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 7.991390480671036e-27 - 2.415021482477592e-26im
Formula2 = 7.991390480671055e-27 - 2.4150214824776042e-26im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.691900430477199e-26 + 1.899585458021021e-26im
Formula2 = 1.6919004304772075e-26 + 1.899585458021029e-26im
-----------------------------------------------------------------
=================================================================
i = 56
lambda = -35.74728614079446 + 31.39777079224602im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915493780955312 - 1.4670484924144412e-8im
Formula2 = -0.15915493780955312 - 1.4670484924146106e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957748160978916 - 0.137832211945563im
Formula2 = 0.07957748160978921 - 0.13783221194556303im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957745619976399 + 0.13783222661604788im
Formula2 = 0.0795774561997639 + 0.13783222661604794im
-----------------------------------------------------------------
=================================================================
i = 57
lambda = 25.82154992649575 - 41.88464202856097im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.5338762918583706e-39 - 1.5818702714402743e-38im
Formula2 = 2.533876291858393e-39 - 1.5818702714402722e-38im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.243246025965745e-38 + 1.0103752595997829e-38im
Formula2 = 1.2432460259657418e-38 + 1.0103752595997845e-38im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.4966336551515813e-38 + 5.7149501184049164e-39im
Formula2 = -1.496633655151581e-38 + 5.7149501184048766e-39im
-----------------------------------------------------------------
=================================================================
i = 58
lambda = -2.3068225010551586 + 39.503409796885975im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535
Formula2 = -0.15915494309189535
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 59
lambda = -41.73702852557528 - 4.014654456242695im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.933990775970581e-21 + 7.735323534790569e-20im
Formula2 = 2.933990775970448e-21 + 7.735323534790543e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -6.845686226418803e-20 - 3.613570712749309e-20im
Formula2 = -6.845686226418775e-20 - 3.61357071274931e-20im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 6.552287148821743e-20 - 4.121752822041261e-20im
Formula2 = 6.55228714882173e-20 - 4.121752822041233e-20im
-----------------------------------------------------------------
=================================================================
i = 60
lambda = 5.930860021277049 - 18.352206621826596im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.9623681833508504e-16 + 1.0182727707257978e-15im
Formula2 = -1.962368183350809e-16 + 1.0182727707257958e-15im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -7.837316782629657e-16 - 6.790824551989142e-16im
Formula2 = -7.837316782629661e-16 - 6.7908245519891e-16im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 9.799684965980503e-16 - 3.391903155268837e-16im
Formula2 = 9.79968496598047e-16 - 3.391903155268857e-16im
-----------------------------------------------------------------
=================================================================
i = 61
lambda = 26.578035795638826 + 38.40473937663198im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189518 - 2.6671796959617036e-17im
Formula2 = -0.15915494309189518 - 2.667137344314341e-17im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594758 - 0.13783222385544788im
Formula2 = 0.07957747154594765 - 0.13783222385544788im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594762 + 0.13783222385544786im
Formula2 = 0.07957747154594755 + 0.1378322238554479im
-----------------------------------------------------------------
=================================================================
i = 62
lambda = 16.716429890492606 + 29.75134316203463im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309190675 + 5.8343155068425745e-15im
Formula2 = -0.15915494309190675 + 5.834317200908469e-15im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594828 - 0.13783222385546082im
Formula2 = 0.07957747154594835 - 0.13783222385546084im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154595848 + 0.13783222385545493im
Formula2 = 0.0795774715459584 + 0.13783222385545502im
-----------------------------------------------------------------
=================================================================
i = 63
lambda = -26.306251867004036 + 18.382824875886698im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15835777695587464 - 0.0010436552215825846im
Formula2 = -0.15835777695587464 - 0.0010436552215825866im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.08008272041262009 - 0.13662003011982612im
Formula2 = 0.08008272041262014 - 0.13662003011982612im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07827505654325458 + 0.13766368534140866im
Formula2 = 0.07827505654325449 + 0.13766368534140871im
-----------------------------------------------------------------
=================================================================
i = 64
lambda = -46.57429414072889 - 25.029531436220044im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.395715942052985e-35 - 3.388675677897948e-37im
Formula2 = -2.3957159420529782e-35 - 3.3886756778963733e-37im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.2272047632489526e-35 - 2.0578074876797634e-35im
Formula2 = 1.2272047632489366e-35 - 2.0578074876797658e-35im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.1685111788040324e-35 + 2.091694244458742e-35im
Formula2 = 1.1685111788040415e-35 + 2.0916942444587294e-35im
-----------------------------------------------------------------
=================================================================
i = 65
lambda = 3.6235686086956136 + 39.951617727912875im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535
Formula2 = -0.15915494309189535 - 8.470329472543003e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 66
lambda = -49.07419358276472 - 29.639972277700345im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.6567044612336612e-39 + 6.185924428457115e-40im
Formula2 = -2.6567044612336635e-39 + 6.185924428457377e-40im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 7.926354605233703e-40 - 2.6100697751986568e-39im
Formula2 = 7.926354605233497e-40 - 2.6100697751986725e-39im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.8640690007102908e-39 + 1.991477332352944e-39im
Formula2 = 1.8640690007103136e-39 + 1.9914773323529346e-39im
-----------------------------------------------------------------
=================================================================
i = 67
lambda = -11.39579389284495 - 41.56225704321097im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 3.1535353624057754e-33 - 6.164207183666555e-33im
Formula2 = 3.1535353624057795e-33 - 6.164207183666526e-33im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 3.7615923340428794e-33 + 5.813145327409244e-33im
Formula2 = 3.761592334042851e-33 + 5.813145327409236e-33im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -6.915127696448653e-33 + 3.5106185625731285e-34im
Formula2 = -6.91512769644863e-33 + 3.510618562572899e-34im
-----------------------------------------------------------------
=================================================================
i = 68
lambda = 2.0884258592846123 - 6.964142764233472im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -5.403588057860992e-7 - 5.31601219810783e-7im
Formula2 = -5.403588057860997e-7 - 5.316012198107844e-7im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 7.305595639319829e-7 - 2.0216384306399228e-7im
Formula2 = 7.305595639319847e-7 - 2.021638430639919e-7im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.9020075814588352e-7 + 7.337650628747751e-7im
Formula2 = -1.9020075814588498e-7 + 7.337650628747763e-7im
-----------------------------------------------------------------
=================================================================
i = 69
lambda = 8.82264541936928 + 22.43001727308082im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309268943 - 1.5751089431500446e-13im
Formula2 = -0.15915494309268943 - 1.5751089431500446e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.0795774715464811 - 0.13783222385605698im
Formula2 = 0.07957747154648115 - 0.137832223856057im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154620837 + 0.13783222385621444im
Formula2 = 0.07957747154620828 + 0.13783222385621452im
-----------------------------------------------------------------
=================================================================
i = 70
lambda = 11.774104565746498 + 16.817583460520027im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915498902619504 + 1.1119874232909155e-8im
Formula2 = -0.15915498902619504 + 1.1119874232910002e-8im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957748488300391 - 0.13783226919565558im
Formula2 = 0.07957748488300397 - 0.13783226919565558im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957750414319115 + 0.13783225807578128im
Formula2 = 0.07957750414319106 + 0.13783225807578137im
-----------------------------------------------------------------
=================================================================
i = 71
lambda = -2.346670614196796 - 0.3135105087366057im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.008127014444664599 + 0.009601579106704283im
Formula2 = -0.008127014444664588 + 0.009601579106704294im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -0.00425170420051951 - 0.011838990519354765im
Formula2 = -0.004251704200519521 - 0.011838990519354765im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.012378718645184106 + 0.0022374114126504766im
Formula2 = 0.01237871864518411 + 0.0022374114126504714im
-----------------------------------------------------------------
=================================================================
i = 72
lambda = -8.245834197401678 + 11.32283074993736im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15914945210961648 + 6.425948916773967e-6im
Formula2 = -0.15914945210961648 + 6.425948916773968e-6im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07956916101980285 - 0.1378306814997612im
Formula2 = 0.07956916101980292 - 0.13783068149976122im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07958029108981364 + 0.13782425555084435im
Formula2 = 0.07958029108981356 + 0.13782425555084443im
-----------------------------------------------------------------
=================================================================
i = 73
lambda = 45.39464620064547 - 38.06881400126841im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.889942378608574e-43 - 9.870673901766233e-44im
Formula2 = -1.8899423786085798e-43 - 9.870673901766157e-44im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.799796624444449e-43 - 1.1432044164755014e-43im
Formula2 = 1.799796624444446e-43 - 1.14320441647551e-43im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 9.014575416412579e-45 + 2.130271806652124e-43im
Formula2 = 9.014575416413375e-45 + 2.1302718066521256e-43im
-----------------------------------------------------------------
=================================================================
i = 74
lambda = 17.579494853970672 - 22.108996207060684im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.530138241438225e-22 + 1.6604434499481982e-23im
Formula2 = 1.53013824143823e-22 + 1.6604434499482094e-23im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -9.088677416393736e-23 + 1.2421164158901397e-22im
Formula2 = -9.088677416393777e-23 + 1.2421164158901437e-22im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -6.212704997988516e-23 - 1.408160760884959e-22im
Formula2 = -6.212704997988523e-23 - 1.4081607608849647e-22im
-----------------------------------------------------------------
=================================================================
i = 75
lambda = -40.17516005939059 + 5.97327352230765im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.3551595268139007e-14 + 9.610255424536253e-13im
Formula2 = 1.3551595268139578e-14 + 9.610255424536214e-13im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -8.390483310846296e-13 - 4.687767454627991e-13im
Formula2 = -8.390483310846266e-13 - 4.68776745462797e-13im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 8.254967358164903e-13 - 4.922487969908263e-13im
Formula2 = 8.25496735816487e-13 - 4.922487969908244e-13im
-----------------------------------------------------------------
=================================================================
i = 76
lambda = 19.599345064989507 + 47.11447532408131im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535
Formula2 = -0.15915494309189535 - 8.470329472543003e-22im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 77
lambda = -19.41494411896705 + 24.145749208797753im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494326277957 - 5.698047923999457e-10im
Formula2 = -0.15915494326277957 - 5.698047924016398e-10im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747212485518 - 0.1378322237185357im
Formula2 = 0.07957747212485523 - 0.13783222371853573im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747113792442 + 0.13783222428834044im
Formula2 = 0.07957747113792434 + 0.13783222428834052im
-----------------------------------------------------------------
=================================================================
i = 78
lambda = -47.54750289612697 + 4.9387396762409im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.2750616720826516e-16 - 2.5746429702108295e-16im
Formula2 = 2.2750616720826343e-16 - 2.574642970210834e-16im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.0921753818362752e-16 + 3.257582688305293e-16im
Formula2 = 1.0921753818362869e-16 + 3.2575826883052816e-16im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.367237053918926e-16 - 6.829397180944621e-17im
Formula2 = -3.3672370539189215e-16 - 6.829397180944473e-17im
-----------------------------------------------------------------
=================================================================
i = 79
lambda = 10.884881202823848 + 23.272667157623346im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309102318 + 1.0492805986097328e-12im
Formula2 = -0.15915494309102318 + 1.0492805990332493e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154460286 - 0.13783222385521737im
Formula2 = 0.07957747154460292 - 0.13783222385521737im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154642035 + 0.13783222385416802im
Formula2 = 0.07957747154642027 + 0.1378322238541681im
-----------------------------------------------------------------
=================================================================
i = 80
lambda = -43.4295208740759 + 5.3414244285825205im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.0553334756375216e-14 - 8.500139872506235e-15im
Formula2 = 2.0553334756375172e-14 - 8.500139872506279e-15im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.9153303128761852e-15 + 2.2049779967759703e-14im
Formula2 = -2.9153303128761304e-15 + 2.204977996775969e-14im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.763800444349903e-14 - 1.3549640095253458e-14im
Formula2 = -1.763800444349904e-14 - 1.354964009525341e-14im
-----------------------------------------------------------------
=================================================================
i = 81
lambda = -23.250033946381766 + 42.87198103144814im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309189535 + 1.0164395367051604e-20im
Formula2 = -0.15915494309189535 + 1.0164395367051604e-20im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154594763 - 0.13783222385544802im
Formula2 = 0.0795774715459477 - 0.13783222385544805im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154594771 + 0.13783222385544797im
Formula2 = 0.07957747154594765 + 0.13783222385544805im
-----------------------------------------------------------------
=================================================================
i = 82
lambda = -22.86527560797642 + 29.822311198481955im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494308995892 + 1.3610940005008131e-12im
Formula2 = -0.15915494308995892 + 1.3610940005008131e-12im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747154380068 - 0.1378322238544516im
Formula2 = 0.07957747154380075 - 0.1378322238544516im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747154615825 + 0.13783222385309044im
Formula2 = 0.07957747154615817 + 0.13783222385309052im
-----------------------------------------------------------------
=================================================================
i = 83
lambda = -30.126501117731518 - 45.9514590113826im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -3.0818399764387273e-43 - 8.06589665077143e-43im
Formula2 = -3.081839976438763e-43 - 8.065896650771389e-43im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 8.526191392087243e-43 + 1.3639966153913393e-43im
Formula2 = 8.526191392087227e-43 + 1.3639966153912907e-43im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -5.444351415648512e-43 + 6.70190003538009e-43im
Formula2 = -5.444351415648464e-43 + 6.701900035380099e-43im
-----------------------------------------------------------------
=================================================================
i = 84
lambda = -49.619204375738214 - 35.08965700409581im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 2.6333759182377166e-43 - 4.0056210099217435e-43im
Formula2 = 2.633375918237705e-43 - 4.005621009921765e-43im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.1522815934060513e-43 + 4.283380947868906e-43im
Formula2 = 2.152281593406075e-43 + 4.283380947868909e-43im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -4.785657511643766e-43 - 2.777599379471615e-44im
Formula2 = -4.785657511643781e-43 - 2.7775993794714405e-44im
-----------------------------------------------------------------
=================================================================
i = 85
lambda = 33.983526161344685 - 28.770090259093184im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 4.732471925865092e-33 + 5.719758724105851e-34im
Formula2 = 4.7324719258651054e-33 + 5.719758724106148e-34im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.8615815987918786e-33 + 3.812452974290544e-33im
Formula2 = -2.8615815987919125e-33 + 3.812452974290541e-33im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -1.8708903270732142e-33 - 4.3844288467011274e-33im
Formula2 = -1.8708903270731926e-33 - 4.3844288467011554e-33im
-----------------------------------------------------------------
=================================================================
i = 86
lambda = -25.969060803542597 + 30.187704140685767im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.15915494309884812 + 1.887492356286496e-11im
Formula2 = -0.15915494309884812 + 1.8874923563711994e-11im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07957747153307786 - 0.13783222387090677im
Formula2 = 0.07957747153307791 - 0.13783222387090677im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07957747156577027 + 0.13783222385203178im
Formula2 = 0.07957747156577019 + 0.13783222385203187im
-----------------------------------------------------------------
=================================================================
i = 87
lambda = 43.31364140471253 - 12.170728396794402im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -9.604595181583369e-26 - 2.302713358611755e-27im
Formula2 = -9.604595181583367e-26 - 2.302713358611675e-27im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 5.001718417410839e-26 - 8.202687752386224e-26im
Formula2 = 5.001718417410835e-26 - 8.202687752386227e-26im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 4.602876764172531e-26 + 8.432959088247395e-26im
Formula2 = 4.602876764172532e-26 + 8.432959088247394e-26im
-----------------------------------------------------------------
=================================================================
i = 88
lambda = 4.67599922610367 - 31.07670873547772im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -7.93071187599945e-24 + 1.3652860798862714e-23im
Formula2 = -7.930711875999497e-24 + 1.365286079886273e-23im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -7.858368348148095e-24 - 1.3694628354141822e-23im
Formula2 = -7.858368348148083e-24 - 1.3694628354141878e-23im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.5789080224147538e-23 + 4.176755527910213e-26im
Formula2 = 1.578908022414758e-23 + 4.176755527914508e-26im
-----------------------------------------------------------------
=================================================================
i = 89
lambda = -42.33338671300659 + 26.118945291331613im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1475570817849686 - 0.0027285529251570087im
Formula2 = -0.14755708178496857 - 0.0027285529251570195im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07614153704124058 - 0.12642390487150237im
Formula2 = 0.07614153704124063 - 0.12642390487150235im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.07141554474372805 + 0.12915245779665932im
Formula2 = 0.07141554474372794 + 0.12915245779665938im
-----------------------------------------------------------------
=================================================================
i = 90
lambda = -20.472553908402304 - 14.51164399037603im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.051677080120181e-19 - 1.098894426317435e-18im
Formula2 = -2.0516770801201878e-19 - 1.0988944263174355e-18im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.0542543432740349e-18 + 3.7176676598408144e-19im
Formula2 = 1.0542543432740358e-18 + 3.717667659840816e-19im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -8.490866352620163e-19 + 7.271276603333536e-19im
Formula2 = -8.49086635262017e-19 + 7.27127660333354e-19im
-----------------------------------------------------------------
=================================================================
i = 91
lambda = 28.461140021221397 + 5.979210933250911im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.3572061455561623e-8 - 7.32343997027094e-9im
Formula2 = -2.357206145556154e-8 - 7.323439970270927e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.8128315785125794e-8 - 1.675228405494889e-8im
Formula2 = 1.812831578512575e-8 - 1.6752284054948825e-8im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 5.4437456704358335e-9 + 2.4075724025219822e-8im
Formula2 = 5.443745670435788e-9 + 2.4075724025219752e-8im
-----------------------------------------------------------------
=================================================================
i = 92
lambda = -3.2827495589121014 + 5.4889653326494425im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -0.1586471539763875 + 0.0005166785549680792im
Formula2 = -0.1586471539763875 + 0.0005166785549680796im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 0.07887612023400073 - 0.13765080485913705im
Formula2 = 0.07887612023400078 - 0.13765080485913705im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 0.0797710337423868 + 0.1371341263041689im
Formula2 = 0.07977103374238671 + 0.137134126304169im
-----------------------------------------------------------------
=================================================================
i = 93
lambda = -28.365430628265266 + 1.5144300740690397im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 1.2920628976365532e-11 - 3.047664558106289e-11im
Formula2 = 1.2920628976365436e-11 - 3.047664558106289e-11im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.993323480715246e-11 + 2.642791571693732e-11im
Formula2 = 1.9933234807152504e-11 + 2.6427915716937248e-11im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -3.285386378351798e-11 + 4.048729864125582e-12im
Formula2 = -3.285386378351794e-11 + 4.048729864125644e-12im
-----------------------------------------------------------------
=================================================================
i = 94
lambda = -38.31259701750016 - 40.83444330134189im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -9.237773685777602e-43 + 1.2467561706393635e-42im
Formula2 = -9.237773685777557e-43 + 1.2467561706393716e-42im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -6.178338318098154e-43 - 1.4233927539491626e-42im
Formula2 = -6.178338318098244e-43 - 1.4233927539491632e-42im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.541611200387575e-42 + 1.7663658330979855e-43im
Formula2 = 1.5416112003875802e-42 + 1.7663658330979168e-43im
-----------------------------------------------------------------
=================================================================
i = 95
lambda = 39.60485635776601 + 11.520220528525925im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 4.606794797427702e-9 + 4.5404725056905134e-9im
Formula2 = 4.606794797427675e-9 + 4.540472505690524e-9im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -6.235561933826619e-9 + 1.7193650717491214e-9im
Formula2 = -6.235561933826617e-9 + 1.7193650717490916e-9im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.6287671363989147e-9 - 6.259837577439633e-9im
Formula2 = 1.6287671363989418e-9 - 6.259837577439616e-9im
-----------------------------------------------------------------
=================================================================
i = 96
lambda = 19.0138528805728 - 40.771013737804275im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 5.826379717604779e-37 + 3.093872902817494e-35im
Formula2 = 5.8263797176041185e-37 + 3.0938729028174846e-35im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -2.708504428508278e-35 - 1.496478522933345e-35im
Formula2 = -2.7085044285082664e-35 - 1.496478522933347e-35im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.650240631332229e-35 - 1.5973943798841495e-35im
Formula2 = 2.650240631332225e-35 - 1.5973943798841375e-35im
-----------------------------------------------------------------
=================================================================
i = 97
lambda = -47.69928213648205 - 30.03691173577261im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 4.32542440384521e-39 + 2.4007577210413468e-39im
Formula2 = 4.325424403845237e-39 + 2.400757721041307e-39im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -4.241829376676045e-39 + 2.5455485553584403e-39im
Formula2 = -4.241829376676026e-39 + 2.5455485553584824e-39im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = -8.359502716916629e-41 - 4.9463062763997855e-39im
Formula2 = -8.359502716921046e-41 - 4.9463062763997894e-39im
-----------------------------------------------------------------
=================================================================
i = 98
lambda = 26.790677978282076 - 41.062446174806524im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -2.1533161278511474e-38 + 1.0035125666226169e-38im
Formula2 = -2.1533161278511174e-38 + 1.0035125666226173e-38im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 2.07590688213463e-39 - 2.3665827524091425e-38im
Formula2 = 2.0759068821344833e-39 - 2.366582752409117e-38im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 1.9457254396376843e-38 + 1.3630701857865243e-38im
Formula2 = 1.9457254396376692e-38 + 1.3630701857864998e-38im
-----------------------------------------------------------------
=================================================================
i = 99
lambda = 38.33696145830834 - 3.8912361462342773im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = -1.6809113994809472e-18 - 5.54686351762363e-19im
Formula2 = -1.6809113994809453e-18 - 5.546863517623693e-19im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = 1.3208281714991908e-18 - 1.1783687975801718e-18im
Formula2 = 1.320828171499196e-18 - 1.178368797580167e-18im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 3.6008322798175666e-19 + 1.7330551493425342e-18im
Formula2 = 3.600832279817492e-19 + 1.7330551493425363e-18im
-----------------------------------------------------------------
=================================================================
i = 100
lambda = 26.23479976724134 - 45.75869922319078im
-----------------------------------------------------------------
FT[f](lambda)
Formula1 = 8.219220117275666e-42 + 3.251407346043087e-41im
Formula2 = 8.219220117275694e-42 + 3.251407346043078e-41im
-----------------------------------------------------------------
FT[f](alpha*lambda)
Formula1 = -3.226762365588438e-41 - 9.138983309358588e-42im
Formula2 = -3.226762365588432e-41 - 9.138983309358531e-42im
-----------------------------------------------------------------
FT[f](alpha^2*lambda)
Formula1 = 2.40484035386087e-41 - 2.3375090151072283e-41im
Formula2 = 2.4048403538608625e-41 - 2.337509015107225e-41im
-----------------------------------------------------------------
=================================================================
Out[192]:
true